From: Henrik Nordstrom Date: Sat, 15 Mar 2008 19:34:36 +0000 (+0100) Subject: The cloned HttpReply needs a reference lock X-Git-Tag: BASIC_TPROXY4~3^2^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a23cbcfd715ec16d9c1c32cd44c3729cdcb8864;p=thirdparty%2Fsquid.git The cloned HttpReply needs a reference lock --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index b74ace1ef2..7acb589c11 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1953,7 +1953,7 @@ clientReplyContext::sendMoreData (StoreIOBuffer result) } if (!reply) { - reply = entry->mem_obj->getReply()->clone(); + reply = HTTPMSGLOCK(entry->mem_obj->getReply()->clone()); } if ((long)reqofs < reply->hdr_sz) { waitForMoreData();