]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Drop old keep-alive hack for Netscape
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Feb 2012 03:30:02 +0000 (20:30 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Feb 2012 03:30:02 +0000 (20:30 -0700)
src/forward.cc

index b1ef8a3bbe629edaae4c5483c14c5cb4e27ed517..50b4ded9efe3347f0cfcdd2dcc4f8f91c7ad1221 100644 (file)
@@ -998,19 +998,10 @@ FwdState::dispatch()
         case AnyP::PROTO_WAIS: /* Not implemented */
 
         default:
-            debugs(17, 1, "fwdDispatch: Cannot retrieve '" << entry->url() << "'" );
+            debugs(17, DBG_IMPORTANT, "WARNING: Cannot retrieve '" << entry->url() << "'.");
             ErrorState *anErr = new ErrorState(ERR_UNSUP_REQ, HTTP_BAD_REQUEST, request);
             fail(anErr);
-            /*
-             * Force a persistent connection to be closed because
-             * some Netscape browsers have a bug that sends CONNECT
-             * requests as GET's over persistent connections.
-             */
-            request->flags.proxy_keepalive = 0;
-            /*
-             * Set the dont_retry flag because this is not a
-             * transient (network) error; its a bug.
-             */
+            // Set the dont_retry flag because this is not a transient (network) error.
             flags.dont_retry = 1;
             if (Comm::IsConnOpen(serverConn)) {
                 serverConn->close();