Ver Fonte

enable mux command for next version

Darien Raymond há 7 anos atrás
pai
commit
34f51c6a0d
1 ficheiros alterados com 4 adições e 3 exclusões
  1. 4 3
      proxy/vmess/outbound/outbound.go

+ 4 - 3
proxy/vmess/outbound/outbound.go

@@ -75,9 +75,10 @@ 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.cool" {
-	//	command = protocol.RequestCommandMux
-	//}
+	if target.Address.Family().IsDomain() && target.Address.Domain() == "v1.mux.cool" {
+		command = protocol.RequestCommandMux
+	}
+
 	request := &protocol.RequestHeader{
 		Version: encoding.Version,
 		User:    rec.PickUser(),