From 74732e4df60a7c13f94a52803be09f5495f9ddfa Mon Sep 17 00:00:00 2001 From: Bryan Call Date: Mon, 25 Jan 2021 12:05:37 -0800 Subject: [PATCH] Change squid log code for self looping --- proxy/http/HttpTransact.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc index e486004a064..29927b7bd6e 100644 --- a/proxy/http/HttpTransact.cc +++ b/proxy/http/HttpTransact.cc @@ -6542,6 +6542,7 @@ HttpTransact::will_this_request_self_loop(State *s) TxnDebug("http_transact", "unknown's ip and port same as local ip and port - bailing"); break; } + SET_VIA_STRING(VIA_ERROR_TYPE, VIA_ERROR_LOOP_DETECTED); build_error_response(s, HTTP_STATUS_BAD_REQUEST, "Cycle Detected", "request#cycle_detected"); return true; }