Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuring socket_timeout in SCP mode #423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KirillYatsenko
Copy link

This commit allows to pass socket_timeout argument to SCPClient constructor. It's add a flexibiliy when the connection is not stable and default 10 second timeout is not enough.

This commit allows to pass socket_timeout argument to SCPClient
constructor. It's add a flexibiliy when the connection is not stable
and default 10 second timeout is not enough.
@KirillYatsenko
Copy link
Author

This commit fixes this issue: #397

So it would be cool to merge it.

@Noordsestern
Copy link
Member

Hi,

sorry for the late reply. For reasons I had to merge a big refactoring removing Python2 & Jython support. The refactoring clashes with your changes. I think, they should quite easily be integrated in to the client.py which is now the only client used SSHLibrary.

Could sync your branch (or do the changes fresh)?

I saw you documented the new parameter. Thanks a lot!! Could you also add some basic test case(s)? For verification?

Thanks a lot!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants