mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
[MAJOR] missing tv_now in kqueue_poll() blocking timeouts
a missing call to tv_now(&now) just after kevent() prevented the timeouts from expiring.
This commit is contained in:
parent
58094f2fd9
commit
258696f5d8
@ -117,6 +117,7 @@ REGPRM2 static void kqueue_poll(struct poller *p, int wait_time)
|
||||
kev, // struct kevent *eventlist
|
||||
maxfd, // int nevents
|
||||
to_ptr); // const struct timespec *timeout
|
||||
tv_now(&now);
|
||||
|
||||
for (count = 0; count < status; count++) {
|
||||
fd = kev[count].ident;
|
||||
|
Loading…
x
Reference in New Issue
Block a user