This commit is contained in:
eson
2023-08-18 19:34:23 +08:00
parent d012ef5f83
commit 3f9c050ca5
13 changed files with 2 additions and 34 deletions

View File

@@ -184,6 +184,7 @@ func NewBackend(mux *http.ServeMux, httpAddress string, muxPaths ...string) *Bac
header.Del("Sec-Websocket-Key")
header.Del("Sec-Websocket-Version")
header.Del("Connection")
// header.Del("Origin")
proxyConn, _, err := backend.Dialer.Dial(target.String(), header)
if err != nil {