From: Amos Jeffries Date: Tue, 7 Jul 2009 01:48:55 +0000 (+1200) Subject: Correct logging for pinned connections. X-Git-Tag: SQUID_3_2_0_1~909 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60b8c73c6cadbc0adf122eb82368169f790865f5;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);