This commit is contained in:
bel
2021-09-08 14:15:52 -06:00
parent efad96aa36
commit 8903c8793b

View File

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