From: wessels <> Date: Sat, 9 May 1998 04:35:06 +0000 (+0000) Subject: From: Henrik Nordstrom X-Git-Tag: SQUID_3_0_PRE1~3360 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fcac026912298da2f59ea8e99a5ece4ad2c4735;p=thirdparty%2Fsquid.git From: Henrik Nordstrom A safeguard to force the client connection to close after a error message. --- diff --git a/src/errorpage.cc b/src/errorpage.cc index 3f871d2b59..d0ced48205 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.129 1998/05/02 06:41:58 wessels Exp $ + * $Id: errorpage.cc,v 1.130 1998/05/08 22:35:06 wessels Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -255,6 +255,7 @@ errorAppendEntry(StoreEntry * entry, ErrorState * err) httpReplySwapOut(rep, entry); httpReplyDestroy(rep); mem->reply->sline.status = err->http_status; + mem->reply->content_length = -1; storeBufferFlush(entry); storeComplete(entry); storeNegativeCache(entry);