mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 07:07:04 +02:00
[MINOR] remove wait_time nullification in ev_sepoll
in ev_sepoll(), wait_time is forced to zero if at least one speculative event is converted to a real event. This is completely wrong.
This commit is contained in:
parent
5465e111fd
commit
c2c078362a
@ -326,11 +326,6 @@ REGPRM2 static void _do_poll(struct poller *p, int wait_time)
|
||||
}
|
||||
epoll_ctl(epoll_fd, opcode, fd, &ev);
|
||||
|
||||
/* We don't want epoll_wait() to wait for certain events
|
||||
* which might never come.
|
||||
*/
|
||||
wait_time = 0;
|
||||
|
||||
if (status & EPOLLIN) {
|
||||
fd_list[fd].e &= ~FD_EV_MASK_R;
|
||||
fd_list[fd].e |= FD_EV_WAIT_R;
|
||||
|
Loading…
Reference in New Issue
Block a user