From: robertc <> Date: Wed, 20 Aug 2003 04:30:36 +0000 (+0000) Subject: Summary: Stop reply generation after parsing failures. X-Git-Tag: SQUID_3_0_PRE4~1242 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=979da574265bd3a99261e6c542ae9820525e38f3;p=thirdparty%2Fsquid.git Summary: Stop reply generation after parsing failures. Keywords: If we cannot parse the response to generate a reply, stop reply generation. Prevents a SIGSEGV in httpBuildVersion. --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index fddf263ae4..e089268ab4 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side_reply.cc,v 1.65 2003/08/13 00:17:26 robertc Exp $ + * $Id: client_side_reply.cc,v 1.66 2003/08/19 22:30:36 robertc Exp $ * * DEBUG: section 88 Client-side Reply Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -1453,6 +1453,7 @@ clientReplyContext::buildReply(const char *buf, size_t size) // clientBuildRangeHeader(http, holdingReply); } + return; } /* enforce 1.0 reply version */