From 39c42a31e35a7f584974f7711243d9567a00ca4a Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 6 Jun 2008 10:42:55 +0000 Subject: [PATCH] Duh! I had the sense of FIONBIO args right in the first place. Revert 2647 and promise not to commit when sleepy. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2651 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/tcp.c b/varnish-cache/bin/varnishd/tcp.c index c2e53408..9cedd8c3 100644 --- a/varnish-cache/bin/varnishd/tcp.c +++ b/varnish-cache/bin/varnishd/tcp.c @@ -127,7 +127,7 @@ TCP_blocking(int sock) { int i; - i = 1; + i = 0; AZ(ioctl(sock, FIONBIO, &i)); } @@ -136,7 +136,7 @@ TCP_nonblocking(int sock) { int i; - i = 0; + i = 1; AZ(ioctl(sock, FIONBIO, &i)); } -- 2.39.5