...continued from part 4
RFC 9204 QPACK: Field Compression for HTTP/3
7.1 Probing Dynamic Table Size
HttpClient only uses the dynamic table for known-safe fields: ":authority" and "user-agent".
Fields "cookie", "authorization" and "proxy-authorization" are flagged with never-indexed bit.
7.2. Static Huffman Encoding
No additional requirements.
7.3 Memory Consumption
HttpClient limits the maximum size of the dynamic table to 4096. Blocked streams are disallowed by default.
The encoder table size is limited to 4KB even if the decoder advertises a larger table size.
The decoder limits the allowed field section size to 384KB. When that size is reached, the processing is aborted.
We currently do not monitor the amount of unsent data on the encoder and the decoder stream.
7.4 Implementation Limits
Integer values that can't be encoded on a Java long are rejected. String literals longer than 2GB are rejected, but only after parsing. This will be improved before the final release.
No comments:
Post a Comment