From df97583cd82601875eab45e250e08966f2529a7a Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 11 Sep 2021 11:53:15 +0300 Subject: [PATCH 1/1] Excess HTTP authorization logging --- trip.go | 1 - 1 file changed, 1 deletion(-) diff --git a/trip.go b/trip.go index 90a5ad3..d4ed572 100644 --- a/trip.go +++ b/trip.go @@ -78,7 +78,6 @@ func roundTrip(w http.ResponseWriter, req *http.Request) { caches.HTTPAuthCacheM.RLock() if creds, ok := caches.HTTPAuthCache[req.URL.Host]; ok { req.SetBasicAuth(creds[0], creds[1]) - fifos.LogHTTPAuth <- fmt.Sprintf("%s %s\t%s", req.Method, req.URL, creds[0]) unauthorized = true } caches.HTTPAuthCacheM.RUnlock() -- 2.44.0