aboutsummaryrefslogtreecommitdiff
path: root/projects/build-openssl.bat
diff options
context:
space:
mode:
authorDa-Yoon Chung <dayoonc@andrew.cmu.edu>2015-04-06 13:22:07 -0400
committerDaniel Stenberg <daniel@haxx.se>2015-04-07 21:55:23 +0200
commita9e46749b2a23257674974ac2a88738905bac5e1 (patch)
treec795d41f12553135828c5941310f7e26ff5e310a /projects/build-openssl.bat
parentc3101ae287fcfc420bdd816f1eaf39c8dc9b242b (diff)
lib/transfer.c: Remove factor of 8 from sleep time calculation
The factor of 8 is a bytes-to-bits conversion factor, but pkt_size and rate_bps are both in bytes. When using the rate limiting option, curl waits 8 times too long, and then transfers very quickly until the average rate reaches the limit. The average rate follows the limit over time, but the actual traffic is bursty. Thanks-to: Benjamin Gilbert
Diffstat (limited to 'projects/build-openssl.bat')
0 files changed, 0 insertions, 0 deletions