|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2006544 ] postquote commands not being sent to remote sftp s
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 09 Jul 2008 22:21:20 +0000
Bugs item #2006544, was opened at 2008-06-30 10:54
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
In a debug session, I observed that the ssh.c::ssh_done function was prematurely exiting when the state flag 'done' is still 0 and when there are queued-up post quote commands still not processed (I believe conn->proto.sshc.state == SSH_SFTP_QUOTE at the return).
I'm attaching a patch that I tested and it appears to work however, given that it introduces a "while" loop over the call to ssh_multi_statemach, I would greatly appreciate it if a more seasoned libcurl developer would double-check the change.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
Assuming that you won't do anything further on this issue, I'll add a
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Yes I can see how this patch cures the problems you experience, but this
I would instead suggest that the bug here is that we don't have a proper
A sensible fix would probably be to insert a new state after DONE but
I could agree to a incomplete fix to this problem to add while we're
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info