Use _make_socket provided timeout
This commit is contained in:
parent
e2e48caf7f
commit
a0efd7c0c7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue