func _HTTPHandler(conn protocols.Protocol, req *http.Request) { utils.Infof("Sending request %v %v \n", req.Method, req.URL.Host) rmProxyHeaders(req) dump, err := httputil.DumpRequest(req, true) if err != nil { utils.Fatalf("%s", err) } conn.Write(dump) }
func _HTTPSHandler(client protocols.Protocol) { client.Write(HTTP200) }