Skip to main content

MAX_HEADER_BLOCK_LEN

Constant MAX_HEADER_BLOCK_LEN 

Source
const MAX_HEADER_BLOCK_LEN: usize = _; // 8_192usize
Expand description

The largest decompressed header block, which bounds what a small compressed block may expand to. Kubernetes clients send around a hundred bytes, a stream holds its headers as long as it is open. A larger block fails the connection, like any header block which does not decode, the compression context of the connection would be out of sync otherwise.