[pkg-lighttpd] Bug#601177: Bug#601177: (connections.c.1228) connection closed: poll() -> ERR

Olaf van der Spek olafvdspek at gmail.com
Mon Oct 25 12:37:11 UTC 2010


On Sun, Oct 24, 2010 at 4:11 AM, Marco d'Itri <md at linux.it> wrote:
> I am experiencing this bug on a high traffic server, please apply the
> fix:
>
> http://redmine.lighttpd.net/issues/2257

Hi release team,

The Lighttpd version in testing logs messages for non-errors. Could
the fix be accepted into Squeeze?

Greetings,

Olaf

Index: connections.c
===================================================================
--- connections.c	(revision 2770)
+++ connections.c	(revision 2771)
@@ -1224,7 +1224,8 @@

 			}
 		} 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





More information about the pkg-lighttpd-maintainers mailing list