]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: abort earlier when errors are detected
authorWilly Tarreau <w@1wt.eu>
Sat, 24 Nov 2012 10:12:13 +0000 (11:12 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 24 Nov 2012 10:12:13 +0000 (11:12 +0100)
commit9a92cd5985e79e797f457bc825e88ee7d69c9bc4
treefdea219721b37c559ef47e744d78f5a0898a38bb
parent36fb02c526a3583227780e0e682f6be403ff6562
MINOR: connection: abort earlier when errors are detected

If an uncaught CO_FL_ERROR flag on a connection is detected, we
immediately go to the wakeup function. This ensures that even if
an error is asynchronously delivered, we don't risk re-enabling
polling or doing unexpected things in the handshake handlers.
src/connection.c