DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
hpack_prim.h File Reference

Low-level field-coding primitives shared by HPACK and QPACK. More...

#include "ServerConfig.h"

Go to the source code of this file.

Detailed Description

Low-level field-coding primitives shared by HPACK and QPACK.

RFC 7541 defines two primitives that RFC 9204 (QPACK) reuses verbatim: the prefix-integer coding (RFC 7541 sec 5.1) and the canonical Huffman code (RFC 7541 Appendix B, referenced by RFC 9204 sec 5). This module is the single copy of both, so HTTP/2's HPACK and HTTP/3's QPACK share one implementation and one Huffman table instead of duplicating ~1 KB of tables.

Pure and host-tested (via the HPACK and QPACK codec tests). Zero heap.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file hpack_prim.h.