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), - } -*/