From 59e7ae16d4d91ef6fe6e4cfddb033f076620eee7 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Sat, 4 Jun 2016 17:13:21 -0500 Subject: [PATCH] Cleaning up --- hostsplitter.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/hostsplitter.go b/hostsplitter.go index 6ba9d76..4d6b232 100644 --- a/hostsplitter.go +++ b/hostsplitter.go @@ -63,8 +63,6 @@ func main() { r.RequestURI = "" HTTPLogger(r, http.StatusOK) } else { - r.URL.Host = "" - r.URL.Scheme = "" HTTPLogger(r, http.StatusBadRequest) } }, @@ -113,18 +111,3 @@ func HTTPLogger(r *http.Request, status int) { )) } } - -/* - record := &ApacheLogRecord{ - ResponseWriter: rw, - ip: clientIP, - time: time.Time{}, - method: r.Method, - uri: r.RequestURI, - protocol: r.Proto, - status: http.StatusOK, - referer: referer, - userAgent: userAgent, - elapsedTime: time.Duration(0), - } -*/