]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stream: Fix how backend-specific analyzers are set on a stream
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 9 Jan 2017 15:33:19 +0000 (16:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Jan 2017 10:38:27 +0000 (11:38 +0100)
commit70e2f272127a931a7b245a95e3a022879145e1dd
treee7c57525e36bfb5c152e6b0c59a9726bd4f1ca88
parent3f78357066288c386709fc9439d56b5d36fe3f35
BUG/MINOR: stream: Fix how backend-specific analyzers are set on a stream

When the stream's backend was defined, the request's analyzers flag was always
set to 0 if the stream had no listener. This bug was introduced with the filter
API but never triggered (I think so).

Because of the commit 5820a366, it is now possible to encountered it. For
example, this happens when the trace filter is enabled on a SPOE backend. The
fix is pretty trivial.

This fix must be backported to 1.7.
src/proxy.c