> -----Original Message----- > From: libssh2-devel-boun...@cool.haxx.se > [mailto:libssh2-devel-boun...@cool.haxx.se] On Behalf Of > Daniel Stenberg > Sent: Wednesday, September 16, 2009 10:31 PM > To: libssh2 development > Subject: RE: libss2 debug level > > I actually use ~0 a lot when I test stuff with great success.
Now I am using the flag "LIBSSH2_TRACE_ERROR|LIBSSH2_TRACE_SFTP". > The -37 ones are just EAGAIN so they can mostly be ignored. > The first one after that is a "SFTP packet too large" which > in my ears sounds very interesting to research further... Here is the output: ====================================== q...@durian(pts/1):~/opensrc/libssh2-1.2/example/simple[31]$ ./sftp 13.198.98.190 qxu fair123 ... [libssh2] 0.403071 SFTP: Data begin - Packet Length: 1399157876 [libssh2] 0.403115 Failure Event: -25 - SFTP packet too large [libssh2] 0.403131 Failure Event: -30 - Timeout waiting for response from SFTP subsystem Unable to init SFTP session all done ====================================== The packet length is incredibly large. Is it an error in type casting? >From Google, it seems someone has hit the same problem before, but it has been >fixed >(http://www.mail-archive.com/libssh2-de...@lists.sourceforge.net/msg01099.html) > and the changes have been checked in. So, what is the possible reason of this >big packet? Could you give me some hint? Thanks, Xu Qiang _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel