r2602 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Thu Mar 13 11:14:10 CET 2008
Author: phk
Date: 2008-03-13 11:14:10 +0100 (Thu, 13 Mar 2008)
New Revision: 2602
Modified:
trunk/varnish-cache/bin/varnishd/cache_acceptor.c
Log:
Don't shmlog ECONNABORTED
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2008-03-13 06:00:10 UTC (rev 2601)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2008-03-13 10:14:10 UTC (rev 2602)
@@ -203,7 +203,7 @@
addr = (void*)&addr_s;
i = accept(pfd[u].fd, addr, &l);
if (i < 0) {
- if (errno != EAGAIN) {
+ if (errno != EAGAIN && errno != ECONNABORTED) {
VSL(SLT_Debug, pfd[u].fd,
"Accept failed errno=%d", errno);
/* XXX: stats ? */
More information about the varnish-commit
mailing list