Subject: Re: libssh2_sftp_init() hangs and does not return while consuming 100% CPU

Re: libssh2_sftp_init() hangs and does not return while consuming 100% CPU

From: Peter Stuge <peter_at_stuge.se>
Date: Mon, 4 Apr 2016 10:11:49 +0000

Ismail Aseen wrote:
> My original problem was one of my thread consuming 100% CPU while
> initiating a file transfer using libssh2.

Do you have a session mutex? libssh2 is not thread safe.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2016-04-04