]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2: implement H2->HTX request header frame transcoding
authorWilly Tarreau <w@1wt.eu>
Tue, 27 Nov 2018 14:34:18 +0000 (15:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:38:32 +0000 (17:38 +0100)
commit6deb4129dece1f8eb906d4f2cee3faa83657cee1
treedbc446b73c5a15ea10656130a52a25105af8bcaa
parente6902cd57c37a1f28ede5c967292bec1988ac2d6
MINOR: h2: implement H2->HTX request header frame transcoding

Till now we could only produce an HTTP/1 request from a list of H2
request headers. Now the new function h2_make_htx_request() does the
same but using the HTX encoding instead, while respecting the H2
semantics. The code is not much different from the first version,
only the encoding differs.

For now it's not used.
include/common/h2.h
src/h2.c