]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] sepoll: don't count two events on the same FD.
authorWilly Tarreau <w@1wt.eu>
Sat, 28 Mar 2009 20:10:48 +0000 (21:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Mar 2009 22:42:55 +0000 (23:42 +0100)
commit6574519c23f44d9ece0589103106b586010e00ac
tree33a09ef7934a6fac96fcbaa0dc75ca53d102c070
parent1714e0ffda337ccb0f02cba0f3cf8119675c8ddd
[MINOR] sepoll: don't count two events on the same FD.

sepoll counts the number of speculative events it has processed in
order to remain fair with epoll_wait(). If a same FD is processed
both for read and for write, it is counted twice. Fix this.
src/ev_sepoll.c