Commit Graph

6 Commits

Author SHA1 Message Date
NI
c7df33f14f Prevent SetDeadline, SetReadDeadline and SetWriteDeadline from setting up unlimited deadline, and also impose our own timeout retry mechanism. 2019-09-18 18:51:17 +08:00
NI
11d6a58a36 Better Timeout in Socks5 handshake 2019-09-03 21:40:57 +08:00
NI
33076628a4 Don't set the initial deadline if the upper wants to set it 2019-08-19 19:27:22 +08:00
NI
541e4b9233 Add a initial read deadline to Socks5 Conn.
This allows us to actually implement the socks5 dial timeout without depend on the timeout setting on the socks5 proxy server.
2019-08-17 10:26:04 +08:00
NI
f3336d61a0 Make DialTimeout configurable. 2019-08-12 23:50:24 +08:00
NI
02f14eb14f Initial commit 2019-08-07 15:56:51 +08:00