]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hpack: implement the HPACK Huffman table decoder
authorWilly Tarreau <w@1wt.eu>
Tue, 30 May 2017 15:22:18 +0000 (17:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:03:24 +0000 (18:03 +0100)
commita004ade512cddb5f9ed4a077c6f3cc85aeaa72b0
treeae927fd7128f164cd2540eb7d693834d7e380390
parent8071eae6b92f00f001af7eef89ee6ac129e45af6
MINOR: hpack: implement the HPACK Huffman table decoder

The code was borrowed from the HPACK experimental implementations
available here :

    https://github.com/wtarreau/http2-exp

It contains the Huffman table as specified in RFC7541 Appendix B, and a
set of reverse tables used to decode a Huffman byte stream, and produced
by contrib/h2/gen-rht. The encoder is not finalized, it doesn't emit the
byte stream but this is not needed for now.
Makefile
include/common/hpack-huff.h [new file with mode: 0644]
src/hpack-huff.c [new file with mode: 0644]