]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG: stream_sock: si->release was not called upon shutw()
authorWilly Tarreau <w@1wt.eu>
Sat, 10 Mar 2012 12:42:32 +0000 (13:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Mar 2012 12:42:32 +0000 (13:42 +0100)
commitad4cd589865d4f79d5ff1f068f40ff4c488077cd
tree0d737d5b80d37028213cd9e97c24422847512597
parent62e7c7146e54add2c4b0673a347c57d54eb6acf9
BUG: stream_sock: si->release was not called upon shutw()

The ->release function of the stream interface is never called upon
a shutw() because it's placed after a return statement. It is possible
that it has impacted inter-process stick-table replication by preventing
a full resync after certain sequences of connection breakage. Since this
bug has been present since the introduction of the ->release() callback,
it cannot have caused regressions, just possibly non-working situations.

This was detected at Exceliance by Emeric Brun during a code review. It
is 1.5-specific.
src/stream_sock.c