From a831f0012cd2991370927343228f881d576aa82d Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 13 Mar 2008 10:14:10 +0000 Subject: [PATCH] Don't shmlog ECONNABORTED git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2602 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_acceptor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ? */ -- 2.39.5