Re: Questions on threading and networking

2019-07-09 Thread Andreas Schneider
On Monday, July 8, 2019 11:17:12 PM CEST Brian Hassink wrote: > Hi, Hi Brian, > I'm brand new to libssh, and trying to understand if it can fit into my use > case. > > I have an application that runs in a Docker container, and would like to > embed an SSH server within that application in order

Why SSH_TIMEOUT_DEFAULT is always used in channel functions

2019-07-09 Thread Franciszek Juras
Hi, I'm using libssh version 0.8.6 to send files and commands to a device. I noticed, that if I disconnect ethernet cable, functions like ssh_channel_request_exec or ssh_channel_open_session hang for a very long time. After looking through the code I discovered, that all channel functions use SSH_T

Re: Why SSH_TIMEOUT_DEFAULT is always used in channel functions

2019-07-09 Thread Andreas Schneider
On Tuesday, July 9, 2019 11:40:28 AM CEST Franciszek Juras wrote: > Hi, > I'm using libssh version 0.8.6 to send files and commands to a device. I > noticed, that if I disconnect ethernet cable, functions like > ssh_channel_request_exec or ssh_channel_open_session hang for a very long > time. After

Re: Why SSH_TIMEOUT_DEFAULT is always used in channel functions

2019-07-09 Thread Franciszek Juras
Is there any ppa with latest libssh? wt., 9 lip 2019, 13:27 użytkownik Andreas Schneider napisał: > On Tuesday, July 9, 2019 11:40:28 AM CEST Franciszek Juras wrote: > > Hi, > > I'm using libssh version 0.8.6 to send files and commands to a device. I > > noticed, that if I disconnect ethernet ca