From: Amos Jeffries Date: Mon, 1 Feb 2010 00:32:21 +0000 (+1300) Subject: Author: Marko X-Git-Tag: SQUID_3_0_STABLE22~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fd2fd468b201739840911efb0035dfc08b6f1ff;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 739e33e7d2..c36cb2c808 100644 --- a/src/http.cc +++ b/src/http.cc @@ -799,8 +799,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);