]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: compression: Adapt to be compatible with the HTX representation
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 30 Nov 2018 21:29:48 +0000 (22:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commite6902cd57c37a1f28ede5c967292bec1988ac2d6
treed1c006435257609e6708386a532874dbc49e616e
parente0aa6f7a9abecdb101d388ccd5ed746c3dc0d95a
MEDIUM: compression: Adapt to be compatible with the HTX representation

Functions analyzing request and response headers have been duplicated and
adapted to support HTX messages. The callback http_payload have been implemented
to handle the data compression itself. It loops on HTX blocks and replace
uncompressed value of DATA block by compressed one. Unlike the HTTP legacy
version, there is no chunk at all. So HTX version is significantly easier.
src/flt_http_comp.c