commit | 258696f5d8160b149e8bccd53ee57fd756c1e1e0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 10 02:31:54 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 10 02:31:54 2007 +0200 |
tree | edb118b8a3eeccc216dc94038032accaa5056867 | |
parent | 58094f2fd9b725e489fc58b76689c2c4f4a0a886 [diff] [blame] |
[MAJOR] missing tv_now in kqueue_poll() blocking timeouts a missing call to tv_now(&now) just after kevent() prevented the timeouts from expiring.
diff --git a/src/ev_kqueue.c b/src/ev_kqueue.c index 44afefe..dd990e4 100644 --- a/src/ev_kqueue.c +++ b/src/ev_kqueue.c
@@ -117,6 +117,7 @@ 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;