Prevent SetDeadline, SetReadDeadline and SetWriteDeadline from setting up unlimited deadline, and also impose our own timeout retry mechanism.
This commit is contained in:
@@ -25,10 +25,6 @@ import (
|
||||
"golang.org/x/net/proxy"
|
||||
)
|
||||
|
||||
var (
|
||||
emptyTime = time.Time{}
|
||||
)
|
||||
|
||||
type socks5Dial struct {
|
||||
net.Dialer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user