Re: channel_select blocks until data received, despite timeout.
- Subject: Re: channel_select blocks until data received, despite timeout.
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sat, 20 Feb 2010 12:17:20 +0100
- To: libssh@xxxxxxxxxx
Which release/version of libssh did you try ? I will check and correct
this if needed.
Andreas: Could you check/remove the spam filter ? This is not the first
time it happens.
libssh.20.awinder@xxxxxxxxxxxxxxx a écrit :
> channel_select allows a timeout value to be specified. This timeout is
> used in the select() call, however is not honored because the code
> requires data to be available on the channel before channel_select returns.
> channels.c, starting line 2196.
> First, the channels are polled. If no data is received, the code goes on
> to block with select() using the given timeout. When select returnes,
> the code loops back around to check for data on one of the requested
> channels, and if there is none, continues on to the select() using the
> given timeout. When select returns, ....
> When trying to create a bug report: Submission rejected as potential
> spam (Akismet says content is spam)
Archive administrator: firstname.lastname@example.org