]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: filters: Forward data only if the last filter forwards something
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 7 Feb 2020 15:40:33 +0000 (16:40 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Feb 2020 10:19:57 +0000 (11:19 +0100)
commit71179a3ea97ea46b28788dfab557c675ec3f3a1e
tree1d86614c7f06419c0f857bbd182fd54270c40765
parent727a3f1ca3b32248d84499fe6bc554e3acaf5af7
MINOR: filters: Forward data only if the last filter forwards something

In flt_tcp_payload() and flt_http_payload(), if the last filter does not
forwarding anything, nothing is forwarded, not even the already filtered
data. For now, this patch is useless because the last filter is always sync with
the stream's offset. But it will be mandatory for a bugfix.
src/filters.c