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.

(cherry picked from commit 81340d7b533ac24cb791fbebede4f7bb36a9f007)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 743a87fd19637e4815e20bcd7069fa94da7d4edf)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

[Cf: Only the HTTP callback function was changed because the TCP part is not the
same and still use the old forwarding mechanism. ]
1 file changed