From: wessels <> Date: Sat, 2 May 1998 12:41:58 +0000 (+0000) Subject: buffer error pages X-Git-Tag: SQUID_3_0_PRE1~3394 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=429cf70bae23b268e118f75d5bfed112a997574a;p=thirdparty%2Fsquid.git buffer error pages --- diff --git a/src/errorpage.cc b/src/errorpage.cc index 7f252ccf45..3f871d2b59 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.128 1998/04/24 04:52:07 wessels Exp $ + * $Id: errorpage.cc,v 1.129 1998/05/02 06:41:58 wessels Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -250,10 +250,12 @@ errorAppendEntry(StoreEntry * entry, ErrorState * err) #endif assert(mem != NULL); assert(mem->inmem_hi == 0); + storeBuffer(entry); rep = errorBuildReply(err); httpReplySwapOut(rep, entry); httpReplyDestroy(rep); mem->reply->sline.status = err->http_status; + storeBufferFlush(entry); storeComplete(entry); storeNegativeCache(entry); storeReleaseRequest(entry);