From 6bcbd2038030e3129b3ab724379eb02110f0fe49 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 8 Oct 2007 13:20:57 +0000 Subject: [PATCH] EOF transfers are not limited to pre HTTP/1.1 backends, no idea why I thought so previously. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2091 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_fetch.c b/varnish-cache/bin/varnishd/cache_fetch.c index e9b6e45f..c894f958 100644 --- a/varnish-cache/bin/varnishd/cache_fetch.c +++ b/varnish-cache/bin/varnishd/cache_fetch.c @@ -339,7 +339,7 @@ Fetch(struct sess *sp) 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); -- 2.39.5