]> Sergey Matveev's repositories - tofuproxy.git/commitdiff
Excess HTTP authorization logging
authorSergey Matveev <stargrave@stargrave.org>
Sat, 11 Sep 2021 08:53:15 +0000 (11:53 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 11 Sep 2021 08:53:15 +0000 (11:53 +0300)
trip.go

diff --git a/trip.go b/trip.go
index 90a5ad3b145c2c742d31112a2f5c2c4421020ad4..d4ed57205bbd8d184320dc8412ed0f9be395dce4 100644 (file)
--- 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()