On 25 February 2011 14:35, Henry Ludemann <[email protected]> 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
