X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=rounds%2FdenyFonts.go;h=efc3d4fc40697c549c4210e6f9b2c821eaece698;hb=0c0a261a6ef4fddfc34a9150005f7964cc69c420;hp=4fe1195197dc0a6167276bbe171f6370f26d34ed;hpb=cb0d759766dd7183adc00f097760fc82ff2796d0;p=tofuproxy.git diff --git a/rounds/denyFonts.go b/rounds/denyFonts.go index 4fe1195..efc3d4f 100644 --- a/rounds/denyFonts.go +++ b/rounds/denyFonts.go @@ -1,5 +1,5 @@ /* -tofuproxy -- HTTP proxy with TLS certificates management +tofuproxy -- flexible HTTP/WARC proxy with TLS certificates management Copyright (C) 2021 Sergey Matveev This program is free software: you can redistribute it and/or modify @@ -36,12 +36,7 @@ func RoundDenyFonts( fallthrough case "font/otf", "font/ttf", "font/woff", "font/woff2": http.NotFound(w, req) - fifos.SinkOther <- fmt.Sprintf( - "%s %s\t%d\tdeny fonts", - req.Method, - req.URL.String(), - http.StatusNotFound, - ) + fifos.LogVarious <- fmt.Sprintf("%s %s\tdeny fonts", req.Method, req.URL) resp.Body.Close() return false, nil }