mirror of https://github.com/v2ray/v2ray-core
enable command mux
parent
0aa48e6c5a
commit
4aa87be0f2
|
@ -75,9 +75,9 @@ func (v *Handler) Process(ctx context.Context, outboundRay ray.OutboundRay, dial
|
||||||
if target.Network == net.Network_UDP {
|
if target.Network == net.Network_UDP {
|
||||||
command = protocol.RequestCommandUDP
|
command = protocol.RequestCommandUDP
|
||||||
}
|
}
|
||||||
//if target.Address.Family().IsDomain() && target.Address.Domain() == "v1.mux.com" {
|
if target.Address.Family().IsDomain() && target.Address.Domain() == "v1.mux.com" {
|
||||||
// command = protocol.RequestCommandMux
|
command = protocol.RequestCommandMux
|
||||||
//}
|
}
|
||||||
request := &protocol.RequestHeader{
|
request := &protocol.RequestHeader{
|
||||||
Version: encoding.Version,
|
Version: encoding.Version,
|
||||||
User: rec.PickUser(),
|
User: rec.PickUser(),
|
||||||
|
|
Loading…
Reference in New Issue