http_proto
http_proto copied to clipboard
HTTP/1 parsing and serialization algorithms using C++11
The code used to calculate theoretical allocated header maximums lacks guards for overflow. For example, if `offset_type` is `u32` then `u32::max` as max_offset is problematic when used to allocate the...
There is no practical way we could have ended up writing a chunk with a size larger than 2^32-1 on 32-bit machines because we cannot have a buffer with such...
We need natvis and gdb pretty printer support. I think the natvis is already there. We need the gdb pretty printer. Furthermore we need tests. Each test would visualize a...
In some cases, it's easiest to determine the validity of a message once the headers are complete (i.e. the closing `\r\n` has been parsed). To aid users in checking if...
Many of the rules currently defined in `detail/rules.hpp` aren't necessarily required to be expored and as such, should be located to private headers located under `src/` instead of `include/`. Potential...
It should be documented explicitly in the API for `fields_base::set` that both the key and value are checked for grammatical correctness according to the rfc and that if the `field-value`...
https://datatracker.ietf.org/doc/html/rfc9112#section-5.2 rfc9112 states: > A server that receives an [obs-fold](https://datatracker.ietf.org/doc/html/rfc9112#line.folding) in a request message that is not within a "message/http" container MUST either reject the message by sending a 400...
field-value parsing needs more tests to test the obs-fold portions of the grammar, among likely other things.
The Alantest framework needs to be integrated to replace the existing copy of test_suite.hpp