fix proxy settings in vmess outbound

pull/314/head
Darien Raymond 8 years ago
parent 2078f29142
commit ecd0cf2fe2
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -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
}

Loading…
Cancel
Save