]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix for recent "clientReplyContext keeps a FwdState refcount" patch.
authorwessels <>
Sat, 6 May 2006 05:36:40 +0000 (05:36 +0000)
committerwessels <>
Sat, 6 May 2006 05:36:40 +0000 (05:36 +0000)
I missed the more common case where fwdStart() was called.

src/client_side_reply.cc

index 3ec12c2eb9b818cbfa62aaa9d8fdc935f745758f..8530643859d9edc4cc8f44ade236257d38bf5346 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side_reply.cc,v 1.101 2006/05/05 21:33:56 wessels Exp $
+ * $Id: client_side_reply.cc,v 1.102 2006/05/05 23:36:40 wessels Exp $
  *
  * DEBUG: section 88    Client-side Reply Routines
  * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
@@ -842,9 +842,9 @@ clientReplyContext::processMiss()
         if (http->flags.internal)
             r->protocol = PROTO_INTERNAL;
 
-        FwdState::fwdStart(http->getConn().getRaw() != NULL ? http->getConn()->fd : -1,
-                           http->storeEntry(),
-                           r);
+        fwd = FwdState::fwdStart(http->getConn().getRaw() != NULL ? http->getConn()->fd : -1,
+                                 http->storeEntry(),
+                                 r);
     }
 }