]> git.kaiwu.me - haproxy.git/commit
[BUG] fix harmless but wrong fd insertion sequence
authorWilly Tarreau <w@1wt.eu>
Tue, 26 Aug 2008 11:25:39 +0000 (13:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 Aug 2008 11:25:39 +0000 (13:25 +0200)
commit788e284d93ea7306fa8c4f8cc8721d3de648817b
tree486bc6c72a03a2cefa9af6c0412aaf33ab12b074
parent79f5fe82f8082b8b716a29189b7d46961d2ad8df
[BUG] fix harmless but wrong fd insertion sequence

In backend.c, we had an EV_FD_SET() called before fd_insert().
This is wrong because fd_insert updates maxfd which might be
used by some of the pollers during EV_FD_SET(), although this
is not currently the case.
src/backend.c