Commit 891a628e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

EOF transfers are not limited to pre HTTP/1.1 backends, no idea why

I thought so previously.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2091 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d690bf82
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment