|
@@ -222,12 +222,10 @@ func (h *ProxyHandler) handleRootRouting(w http.ResponseWriter, r *http.Request)
|
|
|
h.Parent.logRequest(r, false, 444, "root-noresponse", domainOnly)
|
|
|
hijacker, ok := w.(http.Hijacker)
|
|
|
if !ok {
|
|
|
- http.Error(w, "Hijacking not supported", http.StatusInternalServerError)
|
|
|
return
|
|
|
}
|
|
|
conn, _, err := hijacker.Hijack()
|
|
|
if err != nil {
|
|
|
- http.Error(w, err.Error(), http.StatusInternalServerError)
|
|
|
return
|
|
|
}
|
|
|
conn.Close()
|