]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct logging for pinned connections.
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 7 Jul 2009 01:48:55 +0000 (13:48 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 7 Jul 2009 01:48:55 +0000 (13:48 +1200)
Also some extra debug when one fails to be valid for some reason.

src/forward.cc

index 1cab5499593b9cb5e5dd25595365ed895dcd8468..4940fdc66ccb2d0e5445abeaf118b7b8b3335d96 100644 (file)
@@ -812,10 +812,12 @@ FwdState::connectStart()
             if (pinned_connection->pinnedAuth())
                 request->flags.auth = 1;
             comm_add_close_handler(fd, fwdServerClosedWrapper, this);
+            updateHierarchyInfo();
             connectDone(fd, COMM_OK, 0);
             return;
         }
         /* Failure. Fall back on next path */
+        debugs(17,2,HERE << " Pinned connection " << pinned_connection << " not valid. Releasing.");
         request->releasePinnedConnection();
         servers = fs->next;
         fwdServerFree(fs);