1
0
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:
Darien Raymond 2018-02-12 00:06:51 +01:00
parent 20fc4950b2
commit 34f51c6a0d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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(),