defaultMaxInboundHeaderBlockSize top-level constant

int const defaultMaxInboundHeaderBlockSize

Default maximum compressed size of one inbound HTTP/2 field block.

This matches defaultMaxInboundHeaderListSize. An HPACK-encoded field block is normally smaller than the decoded size of its field section, which counts 32 bytes of overhead per field, so a field section within defaultMaxInboundHeaderListSize also fits within this limit. This matters because exceeding this limit terminates the connection (the rest of the field block cannot be skipped without desynchronizing the HPACK state), whereas exceeding only defaultMaxInboundHeaderListSize resets just the affected stream.

Implementation

const int defaultMaxInboundHeaderBlockSize = defaultMaxInboundHeaderListSize;