]> git.kaiwu.me - haproxy.git/commit
CLEANUP: flt_http_comp: comp_state doesn't bother about the direction anymore
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 4 Mar 2026 16:41:35 +0000 (17:41 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 6 Mar 2026 12:55:41 +0000 (13:55 +0100)
commit2a2989bb23b0e6040042384608fa79cfe57520bd
treefcf94d2f7c4b7b34ffa39933fcf493c87aca0961
parentcbebdb4ba86a129c3f5ef456fceecccc304aba25
CLEANUP: flt_http_comp: comp_state doesn't bother about the direction anymore

no need to have duplicated comp_ctx and comp_algo for request vs response
in comp_state struct, because thanks to previous commit compression filter
is either oriented on the request or the response, and 2 distinct filters
are instanciated when we need to handle both requests and responses
compression.

Thus we can save us from duplicated struct members and related operations.
src/flt_http_comp.c