Subject: Pipelining and recent sftp upload improvements

Pipelining and recent sftp upload improvements

From: Will Cosgrove <>
Date: Wed, 17 Nov 2010 15:13:32 -0800

Hi All,
Pardon my newb-ness here, but I've just subscribed to the list after going through recent emails. It would appear in the nightly builds uploading in sftp_write() now does pipelined uploads based on the buffer size. I was impressed and surprised of this development.

The reason I'm posting is I recently added my own upload/download pipelining API to libssh2 modeled after libssh's download pipeline API. It pushes a bit more state management onto the user, but it seems to work fairly well and doesn't require a large input buffer to be filled before hand. I was wondering if there was any interest in my additions (which admittedly need to be code-reviewed by someone more familiar to libssh2 than me) or if this current method was going to be applied to downloading at some point and I should just keep my changes to my projects.

Received on 2010-11-18