]> git.kaiwu.me - haproxy.git/commit
CONTRIB: hpack: add a compressed stream generator for the encoder
authorWilly Tarreau <w@1wt.eu>
Mon, 10 Dec 2018 14:26:35 +0000 (15:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Dec 2018 08:06:46 +0000 (09:06 +0100)
commit841bc7d4719f963d564174141ee01e568f57e920
tree42e98f063a03c90d7fe06f744fd35a650ca0690b
parent19ed92b47d7cbcdbafa4e18d052b87e04903741c
CONTRIB: hpack: add a compressed stream generator for the encoder

This generates the tables and indexes which will be used by the HPACK
encoder. The headers are sorted by length, then by statistical frequency,
then by direction (preference for responses), then by name, then by index.
The purpose is to speed up their lookup.
contrib/hpack/Makefile
contrib/hpack/gen-enc.c [new file with mode: 0644]