commit | e6902cd57c37a1f28ede5c967292bec1988ac2d6 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Nov 30 22:29:48 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 01 17:37:27 2018 +0100 |
tree | d1c006435257609e6708386a532874dbc49e616e | |
parent | e0aa6f7a9abecdb101d388ccd5ed746c3dc0d95a [diff] |
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.