Commit Graph

1 Commits

Author SHA1 Message Date
rofl0r
1cd92e5ecb replace orderedmap for connection headers with linear list
it turned out that a hashmap isn't the right datastructure, as the
special-case header Set-Cookie not only can, but is even heavily
recommended to be used multiple times.

we now use a dumb list as a key-value store for this purpose, but
restrict it to max 256 entries so the linear search can always be
completed in reasonable time in case of an attack.

closes #403
2022-05-02 12:53:38 +00:00