From: Amos Jeffries Date: Sun, 31 Jan 2010 06:50:25 +0000 (+1300) Subject: Author: Marko X-Git-Tag: SQUID_3_2_0_1~439 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7d3253b2bc8c52b20324367c60031d362b558b4;p=thirdparty%2Fsquid.git Author: Marko Bug 2496: Downloading some variants in full before relaying AKA, assertion failed: comm.cc:115: "ccb->active == false" if the client disconnected before download finished arriving. --- diff --git a/src/http.cc b/src/http.cc index 6d25c694e7..1d7c99daaf 100644 --- a/src/http.cc +++ b/src/http.cc @@ -838,8 +838,9 @@ HttpStateData::haveParsedReplyHeaders() if (!vary) { entry->makePrivate(); + if (!fwd->reforwardableStatus(rep->sline.status)) + EBIT_CLR(entry->flags, ENTRY_FWD_HDR_WAIT); goto no_cache; - } entry->mem_obj->vary_headers = xstrdup(vary);