master
bel 2021-09-08 14:15:52 -06:00
parent efad96aa36
commit 8903c8793b
1 changed files with 1 additions and 0 deletions

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)