فهرست منبع

enable mux command for next version

Darien Raymond 7 سال پیش
والد
کامیت
34f51c6a0d
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  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(),