Browse Source

[kqueue] fix kevent call

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3020 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.37
Stefan Bühler 6 years ago
parent
commit
e57a70174b
  1. 1
      NEWS
  2. 2
      src/fdevent_freebsd_kqueue.c

1
NEWS

@ -11,6 +11,7 @@ NEWS
* fix undefined integer shift
* rewrite network sendfile/mmap/writev/write backends
* fix some unchecked return value warnings
* [kqueue] fix kevent call
- 1.4.36 - 2015-07-26
* use keep-alive timeout while waiting for HTTP headers; use always the read timeout while waiting for the HTTP body

2
src/fdevent_freebsd_kqueue.c

@ -46,7 +46,7 @@ static int fdevent_freebsd_kqueue_event_del(fdevents *ev, int fde_ndx, int fd) {
ts.tv_nsec = 0;
ret = kevent(ev->kq_fd,
&kev, n,
kev, n,
NULL, 0,
&ts);

Loading…
Cancel
Save