]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: session: don't always assume there's a listener
authorThierry FOURNIER <tfournier@exceliance.fr>
Thu, 20 Mar 2014 14:42:53 +0000 (15:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Mar 2014 12:16:32 +0000 (13:16 +0100)
commita47a94fb139a02399f80f617d57fd96e240c2b0e
treedae5c02f9c5bd566e7cac1e17d20843a92891da0
parentf7e04e9c2fd7c0d199cd01e8763b5010ee1132c9
MINOR: session: don't always assume there's a listener

For outgoing connections initiated from an applet, there might not be
any listener. It's the case with peers, which resort to a hack consisting
in making the session's listener point to the peer. This listener is only
used for statistics now so it's much easier to check for its presence now.
src/session.c