]> err.no Git - varnish/commitdiff
Don't bother with SO_NOSIGPIPE, it doesn't always work and we
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Sep 2006 18:47:06 +0000 (18:47 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Sep 2006 18:47:06 +0000 (18:47 +0000)
have ignored the signal anyway.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@927 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_acceptor.c

index 81f6d994a7961cbe4a894d6eb47c8d27ce785e02..078fb360d4435d8065fb9a2ff8fb9aeb7bb6fdf4 100644 (file)
@@ -70,10 +70,6 @@ vca_accept_sess(int fd)
        sp->fd = i;
        sp->id = i;
 
-#ifdef SO_NOSIGPIPE /* XXX Linux */
-       i = 1;
-       AZ(setsockopt(sp->fd, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof i));
-#endif
 #ifdef SO_LINGER /* XXX Linux*/
        linger.l_onoff = 0;
        linger.l_linger = 0;