From c36fcc1361f6733d4ccd9f2c917c9fae9a17a98d Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 31 Jan 2010 22:47:16 +1300 Subject: [PATCH] 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. --- src/http.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/http.cc b/src/http.cc index fc11d6d0c4..559fceb640 100644 --- a/src/http.cc +++ b/src/http.cc @@ -835,8 +835,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); -- 2.47.3