On Mon, 28 May 2012, 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.

Can you provide trace logs for when the breakage and this error occur?

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

Are you using blocking or non-blocking mode at the time? TCP is not really equipped to detect "disconnection" that easily.

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to