proxy connection

This commit is contained in:
Darien Raymond committed 2016-11-09 00:17:09 +01:00
1 parent 7a09fcdc2f
commit d343cb1ee6
5 files changed
+153 -14

No files matched your search

+3 -1
View File
@@ -35,7 +35,9 @@ 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(), this.meta.StreamSettings)
rawConn, err := internet.Dial(this.meta.Address, rec.Destination(), internet.DialerOptions{
Stream: this.meta.StreamSettings,
})
if err != nil {
return err
}