r2091 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Oct 8 15:20:57 CEST 2007


Author: phk
Date: 2007-10-08 15:20:57 +0200 (Mon, 08 Oct 2007)
New Revision: 2091

Modified:
   trunk/varnish-cache/bin/varnishd/cache_fetch.c
Log:
EOF transfers are not limited to pre HTTP/1.1 backends, no idea why
I thought so previously.



Modified: trunk/varnish-cache/bin/varnishd/cache_fetch.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_fetch.c	2007-10-08 11:32:30 UTC (rev 2090)
+++ trunk/varnish-cache/bin/varnishd/cache_fetch.c	2007-10-08 13:20:57 UTC (rev 2091)
@@ -339,7 +339,7 @@
 		VBE_UpdateHealth(sp, vc, -3);
 		VBE_ClosedFd(sp->wrk, vc);
 		return (__LINE__);
-	} else if (strcmp(http_GetProto(hp), "HTTP/1.1")) {
+	} else {
 		switch (http_GetStatus(hp)) {
 			case 200:
 				cls = fetch_eof(sp, htc);




More information about the varnish-commit mailing list