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: Sun, 3 Apr 2016 15:29:12 +0000

Ismail Aseen wrote:
> Adding one more point to the above mail, in the function
> sftp_packet_read in sftp.c file, is it a defect to not to address
> the zero return from _libssh2_channel_read function  in the while
> loop found in sftp.c:377 ?

Not neccessarily - it should just mean that the channel has received
no data during this call to channel_read.

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