[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Timeout not working with sftp_read
[Thread Prev] | [Thread Next]
- Subject: RE: Timeout not working with sftp_read
- From: Makarand Pradhan <MakarandPradhan@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 18 Nov 2020 21:44:03 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Thanks Jakub. Can anyone advise, how do I make sftp_read exit in case the link goes down? I see that it get's stuck and never exits even when set to non blocking. Rgds, Makarand. -----Original Message----- From: Jakub Jelen <jjelen@xxxxxxxxxx> Sent: November 18, 2020 4:25 PM To: libssh@xxxxxxxxxx Subject: Re: Timeout not working with sftp_read On 11/18/20 9:06 PM, Makarand Pradhan wrote: > Hello All, > > I'm noticing an issue with sftp_read and would highly appreciate advice. > > If the link goes during sftp_read, sftp_read does not return. It stays stuck even when the session timeout is set to 10 seconds. The SSH_OPTIONS_TIMEOUT is a connection timeout, not the sftp read timeout. Regards, Jakub
Timeout not working with sftp_read | Makarand Pradhan <MakarandPradhan@xxxxxxxxxx> |
Re: Timeout not working with sftp_read | Jakub Jelen <jjelen@xxxxxxxxxx> |