]> git.ipfire.org Git - thirdparty/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:01:49 +0000 (11:01 +0200)
commit116f4105d4fc6fbd8f2d0a139f691973332176de
tree853da374a1961292b3006e1f0fa03f21edd96ddf
parentdf82605d3e73573ae842a1ddaf418997bef33274
[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)
src/ev_sepoll.c