From 92b4e7ec2c51a6d72723a385eb47ad857cac9c27 Mon Sep 17 00:00:00 2001 From: sklv Date: Sun, 12 Apr 2020 11:10:05 +0000 Subject: [PATCH] Add TODO for supporting timeouts in Socks5Proxy. --- src/stream.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stream.rs b/src/stream.rs index 8d4b0a2..85a6f87 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -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();