diff options
author | Klemens Schölhorn <klemens.schoelhorn@advantest.com> | 2022-05-17 18:06:48 +0200 |
---|---|---|
committer | Klemens Schölhorn <klemens.schoelhorn@advantest.com> | 2023-06-02 12:02:15 +0200 |
commit | 9fddb6e99fb981cd31eb8187dd2f47746b3625d8 (patch) | |
tree | dc2f13662bb8b8b15c7da4a42984a40c36bbbfa8 /setup_helper.py | |
parent | 63fd01aa39b0d7cba587380a61b38590004c755d (diff) |
Allow limiting the number of concurrent prefetch requests
Currently prefetch will send all requests for all chunks for the file in
one shot. With the default chunk size of 32k, this can result in many
thousand outstanding requests for large files. Some servers like Serv-U
15.2.3.742 seem to be dropping requests after a certain number, which
results in the file download hanging indefinitely (or until the server
closes the connection).
Fix this issue by letting the user specify a limit for the number of
concurrent requests. This is similar to openssh's sftp, which limits
the number of concurrent requests to 64 by default.
Diffstat (limited to 'setup_helper.py')
0 files changed, 0 insertions, 0 deletions