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.

(cherry picked from commit 71179a3ea97ea46b28788dfab557c675ec3f3a1e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 93a2d142888f9a5ec1ca271f0fe6a2acc17b0d5d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

[Cf: the flt_tcp_payload() function does not exist. It was added in 2.1. So only
the http part was fixed]
1 file changed