From 94a1d7159b4f723fe07f66f4da38b1644b11bb38 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 26 May 2010 21:05:12 +1200 Subject: [PATCH] Bug 2877: pt2: only output zero-size warning on reverse-proxy requests --- src/http.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ); } } -- 2.47.3