Subject: Re: Network hardware failure cases undesired behaviour in libssh2_channel_write_ex

Re: Network hardware failure cases undesired behaviour in libssh2_channel_write_ex

From: Peter Stuge <peter_at_stuge.se>
Date: Mon, 28 May 2012 14:43:21 +0200

Olof TÃ¥ngrot wrote:
> Version: 1.4.2. returns -5 which seems to indicate a fault in the
> key-exchange.
>
> 1) A correct fault code should be resturned.

And you disconnect after keyex?

> 2) Is it possible to avoid the blocking when the hardware is disconnected?

Run a test program under strace to find out. I suspect no. There are
of course system parameters, but you have to set those outside of
libssh2.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-05-28