]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Closed TODO: AsyncCalls solved the "reentrant commConnectStart" problem;
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 19 Sep 2008 17:26:31 +0000 (11:26 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 19 Sep 2008 17:26:31 +0000 (11:26 -0600)
the warning comments are no longer needed.

src/ICAP/ICAPModXact.cc

index 96cccea8751ce60ef601dcba5780ab8bcfae9783..f6c39d07442e28dc5a38dd5bf9e6567f5c2d0ff6 100644 (file)
@@ -80,11 +80,6 @@ void ICAPModXact::start()
         startWriting();
     else
         waitForService();
-
-    // XXX: If commConnectStart in startWriting fails, we may get here
-    //_after_ the object got destroyed. Somebody please fix commConnectStart!
-    // TODO: Does re-entrance protection in callStart() solve the above?
-    // TODO: Check that comm using AsyncCalls solves this problem.
 }
 
 void ICAPModXact::waitForService()
@@ -118,8 +113,6 @@ void ICAPModXact::startWriting()
     decideOnRetries();
 
     openConnection();
-    // put nothing here as openConnection calls commConnectStart
-    // and that may call us back without waiting for the next select loop
 }
 
 // connection with the ICAP service established