master
fangdingjun 8 years ago
parent d88c9ba583
commit 62c5847625

@ -102,7 +102,7 @@ func (h *handler) handleCONNECT(w http.ResponseWriter, r *http.Request) {
return return
} }
if r.ProtoMarjor == 1 { if r.ProtoMajor == 1 {
// HTTP/1.1 // HTTP/1.1
hj, _ := w.(http.Hijacker) hj, _ := w.(http.Hijacker)
conn1, _, _ := hj.Hijack() conn1, _, _ := hj.Hijack()

Loading…
Cancel
Save