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
This commit is contained in:
Stefan Bühler 2010-08-06 21:57:19 +00:00
parent 38f2d1ddd7
commit 4ae13c32b1
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -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)

View File

@ -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,