mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-05 00:50:24 +08:00
TUN-3799: extended the Stream interface to take a logger and added debug logs for io.Copy errors
This commit is contained in:
committed by
Nuno Diegues
parent
a6c2348127
commit
8b794390e5
@@ -62,7 +62,7 @@ func (ws *Websocket) ServeStream(options *StartOptions, conn io.ReadWriter) erro
|
||||
|
||||
_ = socksServer.Serve(conn)
|
||||
} else {
|
||||
ingress.Stream(wsConn, conn)
|
||||
ingress.Stream(wsConn, conn, ws.log)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user