Subject: Re: sftp_packet_require() patch

Re: sftp_packet_require() patch

From: Leif Salomonsson <dev_at_blubbedev.net>
Date: 09 Aug 2013 17:17:03 +0100

Hello Leif,

On 2013-08-09, you wrote:
> Hi

> I noticed this problem when calling sftp_statvfs() when connected
> to a server that does not support statvfs extension. This results in
> the server returning a STATUS instead of an EXTENDED_REPLY. Libssh2
> is not prepared for this, and just waits for EXTENDED_REPLY to arrive,
> which never happens. My proposed fix is attached.
> It modifies sftp_packet_require() to handle this specific scenario.

Updated the patch file.
A "_" character got lost from a _libssh2_debug() call..

Regards
Leif

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

Received on 2013-08-09