]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connection: no need to recheck FD state
authorWilly Tarreau <w@1wt.eu>
Tue, 21 Jan 2014 10:01:08 +0000 (11:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 Jan 2014 23:42:31 +0000 (00:42 +0100)
commitd8375891fcd48ecd5069a7d6838d6e07b5cf06b0
tree572d4cc53879f3537f5731154af013c3bf2e7fc6
parent798c3c9c4161576835fe89ca13bf59040645c924
MEDIUM: connection: no need to recheck FD state

We already have everything in the connection flags using the
CO_FL_DATA_*_ENA bits combined with the fd's ready state, so
we do not need to check fdtab[fd].ev anymore. This considerably
simplifies the connection handling logic since it doesn't
have to mix connection flags with past polling states.
src/connection.c