summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Krzyżaniak <eloy@debian.org>2010-11-08 17:13:25 +0000
committerKrzysztof Krzyżaniak <eloy@debian.org>2010-11-08 17:13:25 +0000
commit675cb96ec19777b170a3f7d46a88f5cb838c1021 (patch)
tree4a6a16d040a96105facf6f28cbb857b869bf6f1e
parent38350d1e07dc7358014a282ed3f1e6ed693a70ad (diff)
downloadlighttpd-675cb96ec19777b170a3f7d46a88f5cb838c1021.tar.gz
added patch from http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2771
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/silence-errors.diff14
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d311d01
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+silence-errors.diff
diff --git a/debian/patches/silence-errors.diff b/debian/patches/silence-errors.diff
new file mode 100644
index 0000000..6aee975
--- /dev/null
+++ b/debian/patches/silence-errors.diff
@@ -0,0 +1,14 @@
+Index: trunk/src/connections.c
+===================================================================
+--- trunk.orig/src/connections.c 2010-11-08 18:06:48.000000000 +0100
++++ trunk/src/connections.c 2010-11-08 18:07:59.000000000 +0100
+@@ -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 */
++#ifndef 0
+ log_error_write(srv, __FILE__, __LINE__, "sd",
+ "connection closed: poll() -> ERR", con->fd);
+ #endif