From 4f601530fabf045b0dc08e5526426ba7331c1133 Mon Sep 17 00:00:00 2001 From: RPRX <63339210+RPRX@users.noreply.github.com> Date: Fri, 14 Apr 2023 22:51:09 +0000 Subject: [PATCH] Allow multiple XUDP in Mux when using XTLS Vision (client side) --- proxy/vless/outbound/outbound.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/vless/outbound/outbound.go b/proxy/vless/outbound/outbound.go index cb2a1b76..4cdae764 100644 --- a/proxy/vless/outbound/outbound.go +++ b/proxy/vless/outbound/outbound.go @@ -136,10 +136,10 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, dialer inte case vless.XRV: switch request.Command { case protocol.RequestCommandMux: - return newError(requestAddons.Flow + " doesn't support Mux").AtWarning() + requestAddons.Flow = "" // let server break Mux connections that contain TCP requests case protocol.RequestCommandUDP: if !allowUDP443 && request.Port == 443 { - return newError(requestAddons.Flow + " stopped UDP/443").AtInfo() + return newError("XTLS rejected UDP/443 traffic").AtInfo() } requestAddons.Flow = "" case protocol.RequestCommandTCP: