]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
buffer error pages
authorwessels <>
Sat, 2 May 1998 12:41:58 +0000 (12:41 +0000)
committerwessels <>
Sat, 2 May 1998 12:41:58 +0000 (12:41 +0000)
src/errorpage.cc

index 7f252ccf45f4981d2458475406d86b556219d635..3f871d2b59c239904ea1bf27c373443d8ab5eb7d 100644 (file)
@@ -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);