Skip to content

Comments

Add support for configuring socket_timeout in SCP mode#423

Open
kyatsen wants to merge 1 commit intoMarketSquare:masterfrom
kyatsen:master
Open

Add support for configuring socket_timeout in SCP mode#423
kyatsen wants to merge 1 commit intoMarketSquare:masterfrom
kyatsen:master

Conversation

@kyatsen
Copy link

@kyatsen kyatsen commented Dec 23, 2022

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.
@kyatsen
Copy link
Author

kyatsen commented May 5, 2023

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