Browse Source

fix #462

pull/507/head
ginuerzh 7 years ago
parent
commit
6af247b533
  1. 4
      sni.go

4
sni.go

@ -75,9 +75,7 @@ func (h *sniHandler) Handle(conn net.Conn) {
conn.RemoteAddr(), conn.LocalAddr(), err)
return
}
if !req.URL.IsAbs() {
req.URL.Scheme = "http" // make sure that the URL is absolute
}
handler := &httpHandler{options: h.options}
handler.Init()
handler.handleRequest(conn, req)

Loading…
Cancel
Save