On Sun, 27 May 2012, Barry Fawthrop wrote:
Any light on what will cause recv to hang up ?
Hang or hang up? Did your code run in blocking or non-blocking mode? Which libssh2 version on what operating system?
Also interested to know what triggers the Failure Event -37 and causes it to loop back ? I need to try to create this loop around
-37 is as you can see LIBSSH2_ERROR_EAGAIN and I believe this is documented. It is what gets returened when no data can be sent/received and it then returns this instead of blocking.
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel