cURL / Mailing Lists / curl-library / Single Mail


Re: Stall when uploading to sftp using multi interface

From: Henry Ludemann <>
Date: Fri, 25 Feb 2011 17:10:28 +0800

On 25 February 2011 14:35, Henry Ludemann <> wrote:
> ... I'll keep investigating the code
> to try and figure out whose responsibility it is to ensure the socket
> is set to poll for writes after SSH_SFTP_UPLOAD_INIT.

I've sent a pull request with a proper fix
( The same bug has already
existed and been fixed for SSH_SFTP_DOWNLOAD_STAT and
SSH_SCP_DOWNLOAD_INIT; the other sftp states may have the same bug.

Although to be honest this fix (same as the other earlier fixes) seems
to be working around the issue a little... a better fix may be
possible, I'm just not too sure what it is.
List admin:
Received on 2011-02-25