mirror of https://github.com/v2ray/v2ray-core
enable mux command for next version
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