r2651 - trunk/varnish-cache/bin/varnishd
    phk at projects.linpro.no 
    phk at projects.linpro.no
       
    Fri Jun  6 12:42:55 CEST 2008
    
    
  
Author: phk
Date: 2008-06-06 12:42:55 +0200 (Fri, 06 Jun 2008)
New Revision: 2651
Modified:
   trunk/varnish-cache/bin/varnishd/tcp.c
Log:
Duh!
I had the sense of FIONBIO args right in the first place.
Revert 2647 and promise not to commit when sleepy.
Modified: trunk/varnish-cache/bin/varnishd/tcp.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/tcp.c	2008-06-05 09:19:27 UTC (rev 2650)
+++ trunk/varnish-cache/bin/varnishd/tcp.c	2008-06-06 10:42:55 UTC (rev 2651)
@@ -127,7 +127,7 @@
 {
 	int i;
 
-	i = 1;
+	i = 0;
 	AZ(ioctl(sock, FIONBIO, &i));
 }
 
@@ -136,7 +136,7 @@
 {
 	int i;
 
-	i = 0;
+	i = 1;
 	AZ(ioctl(sock, FIONBIO, &i));
 }
 
    
    
More information about the varnish-commit
mailing list