]> git.kaiwu.me - haproxy.git/commit
[BUG] ev_sepoll: closed file descriptors could persist in the spec list
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Aug 2008 14:06:02 +0000 (16:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Sep 2008 09:13:35 +0000 (11:13 +0200)
commite7ed3e14a8b3a52fe5286a1796f946799aa8a460
tree67a14da1c730d1d52d1ab098bfbee30792d1a831
parentce3f248679dd095d3acf6579f4b7ef8bd5d33c86
[BUG] ev_sepoll: closed file descriptors could persist in the spec list

If __fd_clo() was called on a file descriptor which was previously
disabled, it was not removed from the spec list. This apparently
could not happen on previous code because the TCP states prevented
this, but now it happens regularly. The effects are spec entries
stuck populated, leading to busy loops.

(cherry picked from commit 7a52a5c4680477272b2f34eaf5896b85746e6fd6)
(cherry picked from commit 116f4105d4fc6fbd8f2d0a139f691973332176de)
src/ev_sepoll.c