allow outbound to be proxied

This commit is contained in:
Darien Raymond committed 2016-11-10 23:41:28 +01:00
1 parent e30f466424
commit 5dc05d6352
17 files changed
+222 -83

No files matched your search

+1 -3
View File
@@ -80,9 +80,7 @@ func (this *FreedomConnection) Dispatch(destination v2net.Destination, payload *
destination = this.ResolveIP(destination)
}
err := retry.Timed(5, 100).On(func() error {
rawConn, err := internet.Dial(this.meta.Address, destination, internet.DialerOptions{
Stream: this.meta.StreamSettings,
})
rawConn, err := internet.Dial(this.meta.Address, destination, this.meta.GetDialerOptions())
if err != nil {
return err
}