On Mon, 30 Aug 2010, jmk wrote:

I've added a mutex lock around libssh2_session_init_ex(). This drastically cut down on it blowing up. However, it appears that some of the other functions may also have thread safety issues. Specifically, I had to also lock libssh2_userauth_keyboard_interactive() and libssh2_session_free(). With all libssh2_* calls locked, I've been unable to get it to blow up. Certainly not ideal, but better than the alternative for now.

And are you using the mutex callbacks now for your crypto library of choice?

--

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

Reply via email to