You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When created a new Client connection and the socket to use is not specified, but timeout value is specified. Paramiko correctly creates the socket and sets the socket timeout value, however when instantiating the Client's transport the sockets timeout gets reset to 0.1 all the time.
Transport.init.py really should attempt to use the existing timeout value for the socket.
Current code:
# Python < 2.3 doesn't have the settimeout method - RogerBtry:
# we set the timeout so we can check self.active periodically to# see if we should bail. socket.timeout exception is never# propagated.self.sock.settimeout(0.1)
exceptAttributeError:
pass
Probably should read:
# Python < 2.3 doesn't have the settimeout method - RogerBtry:
ifsock.gettimeout() <0:
# we set the timeout so we can check self.active periodically to# see if we should bail. socket.timeout exception is never# propagated.self.sock.settimeout(0.1)
exceptAttributeError:
pass
The text was updated successfully, but these errors were encountered:
When created a new Client connection and the socket to use is not specified, but timeout value is specified. Paramiko correctly creates the socket and sets the socket timeout value, however when instantiating the Client's transport the sockets timeout gets reset to 0.1 all the time.
Transport.init.py really should attempt to use the existing timeout value for the socket.
Current code:
Probably should read:
The text was updated successfully, but these errors were encountered: