]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: filters: Forward everything if no data filters are called
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 26 Feb 2020 14:47:22 +0000 (15:47 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Mar 2020 13:12:59 +0000 (14:12 +0100)
commit81340d7b533ac24cb791fbebede4f7bb36a9f007
tree5c4827dfcd4ed70b974a1ec0538af48456155ef0
parentc50ee0b3b4001300f47f77bbdc38b2991b76d663
BUG/MINOR: filters: Forward everything if no data filters are called

If a filter enable the data filtering, in TCP or in HTTP, but it does not
defined the corresponding callback function (so http_payload() or
tcp_payload()), it will be ignored. If all configured data filter do the same,
we must be sure to forward everything. Otherwise nothing will be forwarded at
all.

This patch must be forwarded as far as 1.9.
src/filters.c