File 12481.patch of Package squid
---------------------
PatchSet 12481
Date: 2009/06/25 22:45:10
Author: hno
Branch: SQUID_2_7
Tag: (none)
Log:
Author: Mark Nottingham <mnot@pobox.com>
MFC: Bug #2482: Remove mem_obj->old_entry in async code to avoid deep ctx errors
Remove async->entry->mem_obj->old_entry because it is (apparently) unused, and causing deep ctx errors. Tested for some time now.
Members:
src/client_side.c:1.754.2.24->1.754.2.25
Index: squid/src/client_side.c
===================================================================
RCS file: /cvsroot/squid/squid/src/client_side.c,v
retrieving revision 1.754.2.24
retrieving revision 1.754.2.25
diff -u -r1.754.2.24 -r1.754.2.25
--- squid/src/client_side.c 6 Oct 2008 21:27:44 -0000 1.754.2.24
+++ squid/src/client_side.c 25 Jun 2009 22:45:10 -0000 1.754.2.25
@@ -1,6 +1,6 @@
/*
- * $Id: client_side.c,v 1.754.2.24 2008/10/06 21:27:44 hno Exp $
+ * $Id: client_side.c,v 1.754.2.25 2009/06/25 22:45:10 hno Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
@@ -2169,8 +2169,6 @@
async->entry = storeCreateEntry(url,
request->flags,
request->method);
- async->entry->mem_obj->old_entry = async->old_entry;
- storeLockObject(async->entry->mem_obj->old_entry);
async->sc = storeClientRegister(async->entry, async);
request->etags = NULL; /* Should always be null as this was a cache hit, but just in case.. */
httpHeaderDelById(&request->header, HDR_RANGE);