cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Stall when uploading to sftp using multi interface

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

On 25 February 2011 14:35, Henry Ludemann <misc_at_hl.id.au> 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
(https://github.com/bagder/curl/pull/9). 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: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-25