mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-29 22:11:18 +01:00
BUG/MEDIUM: filters: Don't call TCP callbacks for HTX streams
For now, TCP callbacks are incompatible with the HTX streams because they are designed to manipulate raw buffers. A new callback will probably be added to be used in both modes, raw and HTX. So, for HTX streams, these callbacks are ignored. This should not be a real problem because there is no known filters, expect the trace filter, implementing these callbacks. This patch must be backported to 2.0 and 1.9.
This commit is contained in:
parent
ed295cc344
commit
bb9a7e04bd
@ -981,7 +981,7 @@ flt_xfer_data(struct stream *s, struct channel *chn, unsigned int an_bit)
|
||||
DBG_TRACE_ENTER(STRM_EV_STRM_ANA|STRM_EV_TCP_ANA|STRM_EV_FLT_ANA, s);
|
||||
|
||||
/* If there is no "data" filters, we do nothing */
|
||||
if (!HAS_DATA_FILTERS(s, chn))
|
||||
if (!HAS_DATA_FILTERS(s, chn) || (s->flags & SF_HTX))
|
||||
goto end;
|
||||
|
||||
/* Be sure that the output is still opened. Else we stop the data
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user