From: Amos Jeffries Date: Fri, 28 May 2010 04:21:43 +0000 (-0600) Subject: Bug 2877: pt2: only output zero-size warning on reverse-proxy requests X-Git-Tag: SQUID_3_1_4~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35585d7037c7361502fe9296d98d28881f359196;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 aaf91749e7..e8f4f259ce 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1208,7 +1208,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() ); } }