fix proxy settings in vmess outbound

pull/314/head
Darien Raymond 2016-11-19 14:38:28 +01:00
parent 2078f29142
commit ecd0cf2fe2
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 3 deletions

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
}