]> err.no Git - varnish/commitdiff
EOF transfers are not limited to pre HTTP/1.1 backends, no idea why
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 8 Oct 2007 13:20:57 +0000 (13:20 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 8 Oct 2007 13:20:57 +0000 (13:20 +0000)
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

index e9b6e45f52063eb91f377097c11a02b995614d44..c894f9587525f2be6dd5ef050bc11c653b5d3446 100644 (file)
@@ -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);