From f2e1ea85a32caec2d7eb043436d2d9552f92faed Mon Sep 17 00:00:00 2001 From: Christos Tsantilas Date: Sat, 9 May 2015 04:40:55 -0700 Subject: [PATCH] Fix assertion errorpage.cc:600: "entry->isEmpty()" While squid shuting down, aborted transactions, for which body data already downloaded, can cause this bug. This is a Measurement Factory project --- src/FwdState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FwdState.cc b/src/FwdState.cc index e25f3d449e..7fea9e259c 100644 --- a/src/FwdState.cc +++ b/src/FwdState.cc @@ -625,7 +625,7 @@ FwdState::retryOrBail() request->hier.stopPeerClock(false); - if (self != NULL && !err && shutting_down) { + if (self != NULL && !err && shutting_down && entry->isEmpty()) { ErrorState *anErr = new ErrorState(ERR_SHUTTING_DOWN, Http::scServiceUnavailable, request); errorAppendEntry(entry, anErr); } -- 2.47.2