[PATCH] Improving sftp client performance

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Sun Jan 6 11:52:43 EST 2002


> Btw, you need to handle reordered responses in your patch to be draft
> standard compliant.  Just check for an interval of id:s when reading the
> status message.
>

Mine will not allow for reordered responses.  If ID 4 comes before ID 3 it
will abort.  I was think about this and with two it should not be a great
deal, but the larger number of pending requests out the more important it
is

The only concern of mine (mainly with download) is the sender may decide
to change it's package size in midstream.

Also, you may want to check out pushing BLOCKSIZE (think that is right,
not looking at the code) to 4092 which is the max size the RFC states.
This may change your testing.

- Ben




More information about the openssh-unix-dev mailing list