File 10853.patch of Package squid-beta

---------------------
PatchSet 10853 
Date: 2007/06/19 20:49:37
Author: rousskov
Branch: HEAD
Tag: (none) 
Log:
Added debugging and polished comments.

Members: 
	src/forward.cc:1.166->1.167 

Index: squid3/src/forward.cc
===================================================================
RCS file: /cvsroot/squid/squid3/src/forward.cc,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -r1.166 -r1.167
--- squid3/src/forward.cc	19 Jun 2007 20:27:00 -0000	1.166
+++ squid3/src/forward.cc	19 Jun 2007 20:49:37 -0000	1.167
@@ -1,6 +1,6 @@
 
 /*
- * $Id: forward.cc,v 1.166 2007/06/19 20:27:00 rousskov Exp $
+ * $Id: forward.cc,v 1.167 2007/06/19 20:49:37 rousskov Exp $
  *
  * DEBUG: section 17    Request Forwarding
  * AUTHOR: Duane Wessels
@@ -502,8 +502,11 @@
 
 void
 FwdState::retryOrBail() {
-    if (!self) // we have aborted before the server called us back
-        return; // we are destroyed when the server clears its Pointer to us
+    if (!self) { // we have aborted before the server called us back
+        debugs(17, 5, HERE << "not retrying because of earlier abort");
+        // we will be destroyed when the server clears its Pointer to us
+        return;
+    }
 
     if (checkRetry()) {
         int originserver = (servers->_peer == NULL);