On Fri, 27 Aug 2010, jmk wrote:
Both libgcrypt and OpenSSL have mutex functions that are supposed to be
used when handled multi-threaded. Do you use them?
I'm not directly calling any libgcrypt/openssl functions within this code.
I'm simply calling libssh2_session_init/libssh2_session_startup. I'm
assuming the openssl mutex use would need to take place within libssh2, no?
No, libssh2 doesn't do that. It's a subject worth considering for the future.
I would suggest that you first try using those and see if they make the
problems go away or if they remain.
--
/ daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel