]> err.no Git - varnish/commitdiff
Don't shmlog ECONNABORTED
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 13 Mar 2008 10:14:10 +0000 (10:14 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 13 Mar 2008 10:14:10 +0000 (10:14 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2602 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_acceptor.c

index 12a77a937860ca9aaa31a0411045408ef206383a..69019d22072b8b65c89de982092262a2a4161fc4 100644 (file)
@@ -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 ? */