add mux config

This commit is contained in:
ginuerzh
2023-10-17 21:55:07 +08:00
parent bf5311ddc3
commit 1759c95e78
22 changed files with 805 additions and 23 deletions

View File

@ -48,7 +48,7 @@ func (h *tunnelHandler) handleBind(ctx context.Context, conn net.Conn, network,
resp.WriteTo(conn)
// Upgrade connection to multiplex session.
session, err := mux.ClientSession(conn)
session, err := mux.ClientSession(conn, h.md.muxCfg)
if err != nil {
return
}