From 979da574265bd3a99261e6c542ae9820525e38f3 Mon Sep 17 00:00:00 2001 From: robertc <> Date: Wed, 20 Aug 2003 04:30:36 +0000 Subject: [PATCH] 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. --- src/client_side_reply.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.47.2