]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Rollback r9407. Bad attribution
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 2 Feb 2009 07:09:28 +0000 (20:09 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 2 Feb 2009 07:09:28 +0000 (20:09 +1300)
src/client_side.cc

index 2dd1a45e624170e718b28dd1e4e649b33d3e1916..e50a8d8bacd527f682169132f1ffcb3aff305f06 100644 (file)
@@ -1551,12 +1551,8 @@ ClientSocketContext::socketState()
 
             // did we get at least what we expected, based on range specs?
 
-            if (bytesSent == bytesExpected) { // got everything
-                if (http->request->flags.proxy_keepalive)
-                    return STREAM_COMPLETE;
-                else
-                    return STREAM_UNPLANNED_COMPLETE;
-            }
+            if (bytesSent == bytesExpected) // got everything
+                return STREAM_COMPLETE;
 
             // The logic below is not clear: If we got more than we
             // expected why would persistency matter? Should not this