that the call to HTTPMSGLOCK is wrapped in an if statement, but the
call to HTTPMSGUNLOCK isn't, and that the unlink_request variable
is set but otherwise unused. Probably a bug created by me in
revision 1.95, when converting to HTTPMSGUNLOCK macro.
/*
- * $Id: client_side_reply.cc,v 1.99 2006/02/26 13:43:05 serassio Exp $
+ * $Id: client_side_reply.cc,v 1.100 2006/04/27 16:54:16 wessels Exp $
*
* DEBUG: section 88 Client-side Reply Routines
* AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
old_entry->timestamp = squid_curtime;
- HTTPMSGUNLOCK(old_entry->mem_obj->request);
+ if (unlink_request)
+ HTTPMSGUNLOCK(old_entry->mem_obj->request);
}
sendClientOldEntry();