]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: filters/htx: Filter body relatively to the first block
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 May 2019 09:55:33 +0000 (11:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 May 2019 05:42:33 +0000 (07:42 +0200)
commitee847d45d02d7daa75aaee512fff8aa928972964
tree242497ddcbd8d0f96fdac4cae156f78bb855bbc1
parent16af60e5406802d4cffa7b19fc57ed748014d688
MEDIUM: filters/htx: Filter body relatively to the first block

The filters filtering HTX body, in the callback http_payload, must now loop on
an HTX message starting from the first block position. The offset passed as
parameter is relative to this position and not the head one. It is mandatory
because once filtered, data are now forwarded using the function
channel_htx_fwd_payload(). So the first block position is always updated.
src/cache.c
src/filters.c
src/flt_http_comp.c
src/flt_trace.c
src/proto_htx.c