]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] O(1) pollers should check their FD before closing it
authorWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 08:18:54 +0000 (10:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 08:18:54 +0000 (10:18 +0200)
commitd79e79b436144654d10124de7d5fd4c896ac0487
treea57dbab86788556b55aaa44be3f67d01bb207f9f
parent01b3a53f49af8c7be32b15ad978ec7c4a9e6851f
[BUG] O(1) pollers should check their FD before closing it

epoll, sepoll and kqueue pollers should check that their fd is not
closed before attempting to close it, otherwise we can end up with
multiple closes of fd #0 upon exit, which is harmless but dirty.
src/ev_epoll.c
src/ev_kqueue.c
src/ev_sepoll.c