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.
Regards
Leif
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel