From: Amos Jeffries Date: Fri, 10 Jul 2009 00:14:30 +0000 (+1200) Subject: Correct logging for pinned connections. X-Git-Tag: SQUID_3_1_0_10~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be311b1f565aafd56f2d017ab6e2deffee457fe3;p=thirdparty%2Fsquid.git Correct logging for pinned connections. Also some extra debug when one fails to be valid for some reason. --- diff --git a/src/forward.cc b/src/forward.cc index 1cab549959..4940fdc66c 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -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);