Browse Source

Silence annoying "connection closed: poll() -> ERR" error.log message (fixes #2257)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2771 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.29
Stefan Bühler 11 years ago
parent
commit
cf719ec5b8
  1. 1
      NEWS
  2. 3
      src/connections.c

1
NEWS

@ -5,6 +5,7 @@ NEWS
- 1.4.29 -
* Fix mod_proxy waiting for response even if content-length is 0 (fixes #2259)
* Silence annoying "connection closed: poll() -> ERR" error.log message (fixes #2257)
- 1.4.28 - 2010-08-22
* Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers. (fixes #2249)

3
src/connections.c

@ -1224,7 +1224,8 @@ static handler_t connection_handle_fdevent(server *srv, void *context, int reven
}
} else if (revents & FDEVENT_ERR) {
#ifndef USE_LINUX_SIGIO
/* error, connection reset, whatever... we don't want to spam the logfile */
#if 0
log_error_write(srv, __FILE__, __LINE__, "sd",
"connection closed: poll() -> ERR", con->fd);
#endif

Loading…
Cancel
Save