]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] client: always ensure to zero rep->analysers
authorWilly Tarreau <w@1wt.eu>
Tue, 1 Jun 2010 17:45:06 +0000 (19:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 4 Jun 2010 12:49:27 +0000 (14:49 +0200)
commite29e1c5df47ad7f6f052422e92e1a94bf444d2dc
tree7b83b385148fd67835420a1327ff4f1b8472b9e4
parent39e4f621867c0efdd4a943c797e9e037d48b81c0
[BUG] client: always ensure to zero rep->analysers

The response analyser was not emptied upon creation of a new session. In
fact it was always zero just because last session leaved it in a zero state,
but in case of shared pools this cannot be guaranteed. The net effect is
that it was possible to have some HTTP (or any other) analysers on the
response path of a stats unix socket, which would reject the response.

This fix must be backported to 1.4.
src/client.c
src/proto_uxst.c