]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3655: pinning failure breaks NTLM and Negotiate authentication
authorWolfgang Breyha <wbreyha@gmx.net>
Wed, 17 Oct 2012 00:32:47 +0000 (18:32 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 17 Oct 2012 00:32:47 +0000 (18:32 -0600)
src/http.cc

index 60d9f697e9678fdb914fd10f77509f767723b30e..3177fd7adc2c858f64599cf65d7a1f26eca2a7f7 100644 (file)
@@ -1385,8 +1385,8 @@ HttpStateData::processReplyBody()
                 ispinned = true;
             }
 
-            if (request->pinnedConnection() && ispinned) {
-                request->pinnedConnection()->pinConnection(serverConnection, request, _peer,
+            if (ispinned && request->clientConnectionManager.valid()) {
+                request->clientConnectionManager->pinConnection(serverConnection, request, _peer,
                         (request->flags.connection_auth != 0));
             } else {
                 fwd->pconnPush(serverConnection, request->peer_host ? request->peer_host : request->GetHost());