[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: channel_select blocks until data received, despite timeout.


Hi Andrew,

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.

Thanks,

Aris

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)
> 
> -Andrew
> libssh.20.awinder@xxxxxxxxxxxxxxx
> 
> 
> 
> 

References:
channel_select blocks until data received, despite timeout.libssh.20.awinder@xxxxxxxxxxxxxxx
Archive administrator: postmaster@lists.cynapses.org