aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-07-28 18:30:34 +0100
committerGravatar jesopo2019-07-28 18:30:34 +0100
commita0efd7c0c7397ceeb1f869edec2a34cf4a46197b (patch)
tree2394ab0453e5351844c4e38fd816be3f7fa23b43 /modules
parentadd proxy.py (diff)
signature
Use _make_socket provided timeout
Diffstat (limited to 'modules')
-rw-r--r--modules/proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy.py b/modules/proxy.py
index ccbda4ab..744afae1 100644
--- a/modules/proxy.py
+++ b/modules/proxy.py
@@ -36,5 +36,5 @@ class Module(ModuleManager.BaseModule):
return lambda host, port, bind, timeout: self._make_socket(
ptype, phost, pport, host, port, bind, timeout)
def _make_socket(self, ptype, phost, pport, host, port, bind, timeout):
- return socks.create_connection((host, port), 20, bind,
+ return socks.create_connection((host, port), timeout, bind,
ptype, phost, pport)