From 4aa87be0f24125ab06d50a95c1dd92ff9e9f0259 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 23 Nov 2017 15:21:16 +0100 Subject: [PATCH] enable command mux --- proxy/vmess/outbound/outbound.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxy/vmess/outbound/outbound.go b/proxy/vmess/outbound/outbound.go index 0f538f066..3b6bde342 100644 --- a/proxy/vmess/outbound/outbound.go +++ b/proxy/vmess/outbound/outbound.go @@ -75,9 +75,9 @@ func (v *Handler) Process(ctx context.Context, outboundRay ray.OutboundRay, dial if target.Network == net.Network_UDP { command = protocol.RequestCommandUDP } - //if target.Address.Family().IsDomain() && target.Address.Domain() == "v1.mux.com" { - // command = protocol.RequestCommandMux - //} + if target.Address.Family().IsDomain() && target.Address.Domain() == "v1.mux.com" { + command = protocol.RequestCommandMux + } request := &protocol.RequestHeader{ Version: encoding.Version, User: rec.PickUser(),