From: phk Date: Thu, 13 Mar 2008 10:14:10 +0000 (+0000) Subject: Don't shmlog ECONNABORTED X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a831f0012cd2991370927343228f881d576aa82d;p=varnish Don't shmlog ECONNABORTED git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2602 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index 12a77a93..69019d22 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -203,7 +203,7 @@ vca_acct(void *arg) 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 ? */