mirror of https://github.com/v2ray/v2ray-core
fix proxy settings in vmess outbound
parent
2078f29142
commit
ecd0cf2fe2
|
@ -35,9 +35,7 @@ func (this *VMessOutboundHandler) Dispatch(target v2net.Destination, payload *al
|
||||||
|
|
||||||
err := retry.Timed(5, 100).On(func() error {
|
err := retry.Timed(5, 100).On(func() error {
|
||||||
rec = this.serverPicker.PickServer()
|
rec = this.serverPicker.PickServer()
|
||||||
rawConn, err := internet.Dial(this.meta.Address, rec.Destination(), internet.DialerOptions{
|
rawConn, err := internet.Dial(this.meta.Address, rec.Destination(), this.meta.GetDialerOptions())
|
||||||
Stream: this.meta.StreamSettings,
|
|
||||||
})
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue