diff --git a/README.rst b/README.rst index c231cf84..23b83540 100644 --- a/README.rst +++ b/README.rst @@ -227,7 +227,7 @@ CLI usage ssh_address Pure python ssh tunnel utils - Version 0.3.0 + Version 0.3.1 positional arguments: ssh_address SSH server IP address (GW for SSH tunnels) diff --git a/changelog.rst b/changelog.rst index 27629413..fb04f089 100644 --- a/changelog.rst +++ b/changelog.rst @@ -19,6 +19,10 @@ CONTRIBUTORS CHANGELOG ========= + +- v.0.3.1 (`Pahaz`_) + + Increase open connection timeout to 10 secods + - v.0.3.0 (`Pahaz`_) + Change default with context behavior to use `.stop(force=True)` on exit (is not fully backward compatible) + Remove useless `daemon_forward_servers = True` hack for hangs prevention (is not fully backward compatible) diff --git a/sshtunnel.py b/sshtunnel.py index 34d79f8d..0c6d1ca3 100644 --- a/sshtunnel.py +++ b/sshtunnel.py @@ -36,14 +36,14 @@ input_ = input -__version__ = '0.3.0' +__version__ = '0.3.1' __author__ = 'pahaz' #: Timeout (seconds) for transport socket (``socket.settimeout``) SSH_TIMEOUT = 0.1 # ``None`` may cause a block of transport thread #: Timeout (seconds) for tunnel connection (open_channel timeout) -TUNNEL_TIMEOUT = 1.0 +TUNNEL_TIMEOUT = 10.0 _DAEMON = False #: Use daemon threads in connections _CONNECTION_COUNTER = 1