@ -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)