Refine connection behavior

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2023-09-17 18:01:30 +08:00
parent 95740f3c61
commit 3ebeaed365
+1 -1
View File
@@ -553,7 +553,7 @@ class ConnectAction(Action):
break
if socksProxyHost is None or socksProxyPort is None:
# No HTTP proxy endpoint configured
# No SOCKS proxy endpoint configured
raise SocksProxyServerError
socksProxyServer = f'{socksProxyHost}:{socksProxyPort}'