Browse Source

Silence freebsd_kqueue delete errors

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2764 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.28
Stefan Bühler 12 years ago
parent
commit
00fef415a5
  1. 2
      NEWS
  2. 3
      src/fdevent_freebsd_kqueue.c

2
NEWS

@ -4,7 +4,7 @@ NEWS
====
- 1.4.28 -
*
* Silence freebsd_kqueue delete errors
- 1.4.27 - 2010-08-13
* Fix handling return value of SSL_CTX_set_options (fixes #2157, thx mlcreech)

3
src/fdevent_freebsd_kqueue.c

@ -39,12 +39,15 @@ static int fdevent_freebsd_kqueue_event_del(fdevents *ev, int fde_ndx, int fd) {
NULL, 0,
&ts);
/* Ignore errors for now, as we remove for READ and WRITE without knowing what was registered */
#if 0
if (ret == -1) {
log_error_write(ev->srv, __FILE__, __LINE__, "SS",
"kqueue event delete failed: ", strerror(errno));
return -1;
}
#endif
return -1;
}

Loading…
Cancel
Save