Tartarus CVS: putty: simon
tartarus-commits@lists.tartarus.org
tartarus-commits@lists.tartarus.org
Sat, 27 Sep 2003 18:52:36 +0100
CVS Root: /home/cvs
Module: putty
Changes by: simon
Date: Sat Sep 27 2003 18:52:36 BST
Log message:
First cut at speeding up SFTP. Generic download-management code in
sftp.c, and psftp.c now uses that instead of going it alone. Should
in principle be easily installed in PSCP as well, but I haven't done
it yet; also it only handles downloads, not uploads, and finally it
doesn't yet properly calculate the correct number of parallel
requests to queue. Still, it's a start, and in my own tests it
seemed to perform as expected (download speed suddenly became
roughly what you'd expect from the available bandwidth, and
decreased by roughly the expected number of round-trip times).
Modified files:
. : psftp.c sftp.c sftp.h
Links:
http://cvs.tartarus.org//putty/psftp.c.diff?r1=1.64&r2=1.65
http://cvs.tartarus.org//putty/sftp.c.diff?r1=1.19&r2=1.20
http://cvs.tartarus.org//putty/sftp.h.diff?r1=1.10&r2=1.11