]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] fix ev_sepoll again, this time with a new state machine
authorWilly Tarreau <w@1wt.eu>
Sat, 12 May 2007 23:52:05 +0000 (01:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 May 2007 23:52:05 +0000 (01:52 +0200)
commit6653d17b8d6f9fdf347e8e28b37e7eee3af28700
tree91d864c4728f08d452b8a29d8903f612aed60742
parent49fa3a1453ad0c0fd9cfee8c3b32e93b10a9b323
[BUG] fix ev_sepoll again, this time with a new state machine

It was possible in ev_sepoll() to ignore certain events if
all speculative events had been processed at once, because
the epoll_wait() timeout was not cleared, thus delaying the
events delivery.

The state machine was complicated, it has been rewritten.
It seems faster and more correct right now.
src/ev_sepoll.c