From 0a23cbcfd715ec16d9c1c32cd44c3729cdcb8864 Mon Sep 17 00:00:00 2001 From: Henrik Nordstrom Date: Sat, 15 Mar 2008 20:34:36 +0100 Subject: [PATCH] The cloned HttpReply needs a reference lock --- src/client_side_reply.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.47.3