]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3655: pinning failure breaks NTLM and Negotiate authentication
authorWolfgang Breyha <wbreyha@gmx.net>
Fri, 12 Oct 2012 02:21:16 +0000 (20:21 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 12 Oct 2012 02:21:16 +0000 (20:21 -0600)
src/http.cc

index 386776e808351859d6ea05afa265f3bd3cf7d072..6ecbadd25d53983635079b76bb05fb121178ecfc 100644 (file)
@@ -1393,8 +1393,8 @@ HttpStateData::processReplyBody()
                 ispinned = true;
             }
 
-            if (request->pinnedConnection() && ispinned) {
-                request->pinnedConnection()->pinConnection(serverConnection, request, _peer,
+            if (request->clientConnectionManager.valid() && ispinned) {
+                request->clientConnectionManager->pinConnection(serverConnection, request, _peer,
                         (request->flags.connectionAuth != 0));
             } else {
                 fwd->pconnPush(serverConnection, request->peer_host ? request->peer_host : request->GetHost());