]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG/MINOR: session: detect the TCP monitor checks at the protocol accept
authorWilly Tarreau <w@1wt.eu>
Sun, 20 May 2012 17:22:25 +0000 (19:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 20 May 2012 17:22:25 +0000 (19:22 +0200)
commitfe7f1ea68e009041a98d50d6cfffe69a6df8216f
tree96f5f662552dc7f2fb9264ec9b727ccffa4b4458
parenta190d591fcb9d3db8dfe5905bcd879770f473c5b
REORG/MINOR: session: detect the TCP monitor checks at the protocol accept

It does not make sense anymore to wait for a session creation to process
a TCP monitor check which only closes the connection and returns. Better
to process this immediately after the accept() return. It also saves us
from counting a connection for monitor checks, which is much more logical.
src/protocols.c
src/session.c