diff --git a/server.go b/server.go index cda5104..ae334ed 100644 --- a/server.go +++ b/server.go @@ -27,6 +27,7 @@ func NewServer(c *Config) *Server { } func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { + log.Println(r.Method, r.Host) switch r.Method { case http.MethodConnect: s.Connect(w, r)