Add TODO for supporting timeouts in Socks5Proxy.

This commit is contained in:
sklv authored and Martin Algesten committed 2020-04-18 11:47:47 +02:00
1 parent a598b1091b
commit 92b4e7ec2c
1 file changed
+1
+1
View File
@@ -293,6 +293,7 @@ fn connect_socks5(
// 3) an exception is thrown.
// # Defects
// 1) In the event of a timeout, a thread may be left running in the background.
// TODO: explore supporting timeouts upstream in Socks5Proxy.
let stream = if timeout_connect > 0 {
let master_signal = Arc::new((Mutex::new(false), Condvar::new()));
let slave_signal = master_signal.clone();