]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
document why conn gets released explicitly early on pinning
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 22 May 2010 06:42:56 +0000 (18:42 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 22 May 2010 06:42:56 +0000 (18:42 +1200)
src/forward.cc

index 3ddd618ba35084786aa0670311921fda98a8ea5c..633a366a375965fa57ecd037b08ff9f40bd2bf0c 100644 (file)
@@ -781,7 +781,7 @@ FwdState::connectStart()
         debugs(17,2,HERE << " Pinned connection " << pinned_connection << " not valid. Releasing.");
         request->releasePinnedConnection();
         paths.shift();
-        conn = NULL;
+        conn = NULL; // maybe release the conn memory. it's not needed by us anyway.
         connectStart();
         return;
     }