SSHLibrary icon indicating copy to clipboard operation
SSHLibrary copied to clipboard

Add support for configuring socket_timeout in SCP mode

Open KirillYatsenko opened this issue 3 years ago • 2 comments

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 avatar Dec 23 '22 15:12 KirillYatsenko

This commit fixes this issue: https://github.com/robotframework/SSHLibrary/issues/397

So it would be cool to merge it.

KirillYatsenko avatar May 05 '23 10:05 KirillYatsenko

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!!!

Noordsestern avatar Aug 30 '24 19:08 Noordsestern