1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-26 12:05:35 -05:00

fix proxy settings in vmess outbound

This commit is contained in:
Darien Raymond
2016-11-19 14:38:28 +01:00
parent 2078f29142
commit ecd0cf2fe2

View File

@@ -35,9 +35,7 @@ func (this *VMessOutboundHandler) Dispatch(target v2net.Destination, payload *al
err := retry.Timed(5, 100).On(func() error {
rec = this.serverPicker.PickServer()
rawConn, err := internet.Dial(this.meta.Address, rec.Destination(), internet.DialerOptions{
Stream: this.meta.StreamSettings,
})
rawConn, err := internet.Dial(this.meta.Address, rec.Destination(), this.meta.GetDialerOptions())
if err != nil {
return err
}