COPY_SIZE #define

mouring mouring at etoh.eviladmin.org
Wed Feb 6 03:11:00 EST 2002


> I noticed the "XXX: what should this be?" w.r.t. COPY_SIZE in 
> sftp-client.c.  I made up the following quick patch to allow a new 
> command-line argument, "-B" (for 'buffer' size) to specify this value.
> 
> I haven't done any strict benchmarking yet, but -B65535 is faster than 
> -B8192 which is much faster than -B16.
> 
> PS again, I am not on this list, so please CC me any replies.

This feature has been added to the -current tree a week ago and was just
pulled into the portable tree a few days ago.

- Ben



More information about the openssh-unix-dev mailing list