mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-27 06:16:09 -04:00
enable mux command for next version
This commit is contained in:
parent
20fc4950b2
commit
34f51c6a0d
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user