From: Amos Jeffries Date: Wed, 26 May 2010 09:05:12 +0000 (+1200) Subject: Bug 2877: pt2: only output zero-size warning on reverse-proxy requests X-Git-Tag: SQUID_3_2_0_1~190 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94a1d7159b4f723fe07f66f4da38b1644b11bb38;p=thirdparty%2Fsquid.git Bug 2877: pt2: only output zero-size warning on reverse-proxy requests --- diff --git a/src/http.cc b/src/http.cc index 6bf8bab74a..fe67c9a5fc 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1205,7 +1205,8 @@ HttpStateData::continueAfterParsingHeader() debugs(11, DBG_IMPORTANT, "WARNING: HTTP: Invalid Response: Headers did not parse at all for " << entry->url() << " AKA " << orig_request->GetHost() << orig_request->urlpath.termedBuf() ); } else { error = ERR_ZERO_SIZE_OBJECT; - debugs(11, DBG_IMPORTANT, "WARNING: HTTP: Invalid Response: No object data received for " << entry->url() << " AKA " << orig_request->GetHost() << orig_request->urlpath.termedBuf() ); + debugs(11, (orig_request->flags.accelerated?DBG_IMPORTANT:2), "WARNING: HTTP: Invalid Response: No object data received for " << + entry->url() << " AKA " << orig_request->GetHost() << orig_request->urlpath.termedBuf() ); } }