From: Sergey Matveev Date: Sat, 11 Sep 2021 08:53:15 +0000 (+0300) Subject: Excess HTTP authorization logging X-Git-Tag: v0.1.0~68 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=df97583cd82601875eab45e250e08966f2529a7a;p=tofuproxy.git Excess HTTP authorization logging --- 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()