Description
At the moment client and server are using
Lines 216 to 260 in 9b02824
To decode headers.
The spec says for the SETTINGS_MAX_FIELD_SECTION_SIZE Setting:
The size of a field list is calculated based on the uncompressed size of fields, including the length of the name and value in bytes plus an overhead of 32 bytes for each field.
Because the decoding is stateless, the hole header frame needs to be received before the header can be parsed. So if the MAX_FIELD_SECTION_SIZE setting is set for h3 it will only have a limited effect for now, because the limit only aborts the parsing but the hole header is in memory.
The parsing of the headers should start once enough data is received.
It makes probably sense to implement this functionality into the already existing Decoder
struct from the qpack
module. The Encoder
struct and the dynamic table feature can be integrated to.
Lines 81 to 83 in 9b02824
The duvet tags could also be filled in for qpack rfc 9204.