[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Detect a timeout on Session and Command Execution
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Detect a timeout on Session and Command Execution
- From: Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 3 Sep 2020 11:01:37 -0300
- To: libssh@xxxxxxxxxx
Hi, Which properties or functions should I check to detect a timeout ? (session and command timeout) Because my current rules work in most cases but not in all: If readBytes = 0 and (ssh_channel_is_eof: channel) not -> i assume time out. No bytes have been read from the channel and the channel did not receive an eof. Is this ok ? Or the timeout should be detected with other rules... regards, bruno
Archive administrator: postmaster@lists.cynapses.org