From: phk Date: Wed, 6 Sep 2006 18:47:06 +0000 (+0000) Subject: Don't bother with SO_NOSIGPIPE, it doesn't always work and we X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1431f46f553a2d48234f40728a39e3086ffca119;p=varnish Don't bother with SO_NOSIGPIPE, it doesn't always work and we have ignored the signal anyway. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@927 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index 81f6d994..078fb360 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -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;