This mailing list has been abandoned! Subscribe to and use the new list
instead: http://cool.haxx.se/mailman/listinfo/libssh2-devel
----------------------------------------------------------------------

I've been having a problem where sftp_read return 0 (i.e. thinks its
reached the end of the file) even though it has only partly
transferred it.  This is particularly noticeable when the 'file' is
something like /dev/random that renders data very slowly.  Earlier
versions used to block in this case and wait for data.  git bisect
identifies this commit as the culprit:
http://trac.libssh2.org/changeset/90b4b4073f34919aa72deff61a5c9bc188c47c95/libssh2

Daniel, can you run me through the logic for this change?  For
instance, what happens when (buffer_size*4) is <= already?  Are we
supposed to modify count here too?  And, I'm feeling a bit dense right
now: why is it buffer*4?

Alex

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to