]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- Fixed FMR bug in neighborsUdpAck() for UDP_HIT_OBJ replies.
authorwessels <>
Thu, 12 Sep 1996 06:31:12 +0000 (06:31 +0000)
committerwessels <>
Thu, 12 Sep 1996 06:31:12 +0000 (06:31 +0000)
src/neighbors.cc

index 1d46a891815ad0da0654ce293f3c8880f80b7b18..5a4d42bcdda6a9cc6692cc7a3e769d4d5428c2d9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: neighbors.cc,v 1.46 1996/08/30 22:44:09 wessels Exp $
+ * $Id: neighbors.cc,v 1.47 1996/09/12 00:31:12 wessels Exp $
  *
  * DEBUG: section 15    Neighbor Routines
  * AUTHOR: Harvest Derived
@@ -615,11 +615,11 @@ void neighborsUdpAck(fd, url, header, from, entry, data, data_sz)
            httpState->entry = entry;
            httpProcessReplyHeader(httpState, data, data_sz);
            storeAppend(entry, data, data_sz);
-           storeComplete(entry);
            hierarchyNote(entry->mem_obj->request,
                e->type == EDGE_PARENT ? HIER_PARENT_UDP_HIT_OBJ : HIER_SIBLING_UDP_HIT_OBJ,
                0,
                e->host);
+           storeComplete(entry);       /* This might release entry! */
            if (httpState->reply_hdr)
                put_free_8k_page(httpState->reply_hdr);
            safe_free(httpState);