From: phk Date: Mon, 8 Oct 2007 13:20:57 +0000 (+0000) Subject: EOF transfers are not limited to pre HTTP/1.1 backends, no idea why X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bcbd2038030e3129b3ab724379eb02110f0fe49;p=varnish 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 --- 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);