[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to set up timeout
[Thread Prev] | [Thread Next]
- Subject: Re: How to set up timeout
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sun, 07 Apr 2019 09:42:55 +0200
- To: libssh@xxxxxxxxxx
- Cc: Franciszek Juras <franciszekjuras@xxxxxxxxx>
On Saturday, 6 April 2019 19:27:03 CEST Franciszek Juras wrote: > Hi, > I noticed, that functions like ssh_channel_request_exec or sftp_open never > return (or it takes very long time - didn't wait) if the connection is > lost. I tried setting SSH_OPTIONS_TIMEOUT with ssh_options_set, but it > didn't change anything. > > So how can I prevent functions from blocking forever? Why only few > functions have *_timeout versions? Which version of libssh do you use?
Re: How to set up timeout | Franciszek Juras <franciszekjuras@xxxxxxxxx> |
How to set up timeout | Franciszek Juras <franciszekjuras@xxxxxxxxx> |