Daniel:
>For the purpose of debugging this, can you make _libssh2_send() increase a
>global variable with the amount of data it thinks send() has sent and then
>output that global variable at the end of the test? That's the raw sender,
>which then should be ~15-20% larger than the file size. See my suggested
patch
>below.
>
>If that counter gets crazy big, we continue and add the similar counter to
>more upper layer functions. Within channel_write and _libssh2_channel_write
>and then finally within sftp_write.
I did that, and ran it, and put the results here:
http://trac.libssh2.org/attachment/ticket/197/
See 2010-11-12.zip
I didn't have time to do much analysis, nor to figure out how to
attach the Wireshark trace I created. (Trac kept blowing up on
the 16 MB attachment.)
Hopefully I'll have time later today to look at this more.
Mark
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-11-12