From 1431f46f553a2d48234f40728a39e3086ffca119 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 6 Sep 2006 18:47:06 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache_acceptor.c | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.39.5