First cut at speeding up SFTP. Generic download-management code in
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 27 Sep 2003 17:52:34 +0000 (17:52 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 27 Sep 2003 17:52:34 +0000 (17:52 +0000)
commitc606c42da46efa232c1f29791877f07d98da262e
tree0689a5ff30067f2d3e9d85ae1610cee029a0ff65
parentd82628771dc267b4f3718e03a1a4ab2ed6946895
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).

git-svn-id: svn://svn.tartarus.org/sgt/putty@3468 cda61777-01e9-0310-a592-d414129be87e
psftp.c
sftp.c
sftp.h