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

[RFC] channels regression issue

It was observed that with an updated version of libssh we see a timeout
in the netopeer2-cli when connecting via ssh. This timeout appears after
about 20 seconds of inactivity a new cli command is executed. Since this
issue was not seen with libssh 0.9.2 I started some some debug/bisect and I
figured out that setting the rc variable to the len value before
checking "> 0" solves the issue.

Nethertheless by adding some debug information (printf) I don't have an exact
explanation for this behavior. Does someone else see a possible impact
or has a good explanation for that behavior?

Heiko Thiery (2):
  channels: Fix typ of len variable
  channels: properly set rc to length

 src/channels.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


[PATCH] channels: Fix typ of len variableHeiko Thiery <heiko.thiery@xxxxxxxxx>
[PATCH] channels: properly set rc to lengthHeiko Thiery <heiko.thiery@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org