Browse Source

only require FDEVENT_IN bit to be set for listening connections (fixes #2227)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2753 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.27
Stefan Bühler 11 years ago
parent
commit
4ae13c32b1
  1. 1
      NEWS
  2. 2
      src/network.c

1
NEWS

@ -28,6 +28,7 @@ NEWS
* array.c: improve array_get_unused_element to check data type; fix mem leak if unused_element didn't find a matching entry (fixes #2145)
* add check to stop loading plugins twice
* cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls
* only require FDEVENT_IN bit to be set for listening connections (fixes #2227)
- 1.4.26 - 2010-02-07
* Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105)

2
src/network.c

@ -34,7 +34,7 @@ static handler_t network_server_handle_fdevent(server *srv, void *context, int r
UNUSED(context);
if (revents != FDEVENT_IN) {
if (0 == (revents & FDEVENT_IN)) {
log_error_write(srv, __FILE__, __LINE__, "sdd",
"strange event for server socket",
srv_socket->fd,

Loading…
Cancel
Save