1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-05 09:05:04 -05:00
curl/docs/libcurl
Olivier Brunel 4b86113f5e speed caps: not based on average speeds anymore
Speed limits (from CURLOPT_MAX_RECV_SPEED_LARGE &
CURLOPT_MAX_SEND_SPEED_LARGE) were applied simply by comparing limits
with the cumulative average speed of the entire transfer; While this
might work at times with good/constant connections, in other cases it
can result to the limits simply being "ignored" for more than "short
bursts" (as told in man page).

Consider a download that goes on much slower than the limit for some
time (because bandwidth is used elsewhere, server is slow, whatever the
reason), then once things get better, curl would simply ignore the limit
up until the average speed (since the beginning of the transfer) reached
the limit.  This could prove the limit useless to effectively avoid
using the entire bandwidth (at least for quite some time).

So instead, we now use a "moving starting point" as reference, and every
time at least as much as the limit as been transferred, we can reset
this starting point to the current position. This gets a good limiting
effect that applies to the "current speed" with instant reactivity (in
case of sudden speed burst).

Closes #971
2016-09-04 13:11:23 +02:00
..
opts speed caps: not based on average speeds anymore 2016-09-04 13:11:23 +02:00
.gitignore docs/libcurl: gitignore libcurl-symbols.3 2015-04-29 13:51:42 -04:00
ABI ABI doc: use secure URL 2015-07-30 15:02:44 +02:00
curl_easy_cleanup.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_easy_duphandle.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_easy_escape.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_easy_getinfo.3 http: add CURLINFO_HTTP_VERSION and %{http_version} 2016-05-30 22:58:51 +02:00
curl_easy_init.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_easy_pause.3 curl_easy_pause.3: fix man page reference 2016-05-01 23:24:09 +02:00
curl_easy_perform.3 docs: unified man page references to use \fI 2016-05-02 09:09:59 +02:00
curl_easy_recv.3 docs: unified man page references to use \fI 2016-05-02 09:09:59 +02:00
curl_easy_reset.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_easy_send.3 docs: unified man page references to use \fI 2016-05-02 09:09:59 +02:00
curl_easy_setopt.3 curl_easy_setopt.3: mention CURLOPT_TCP_FASTOPEN 2016-04-19 00:48:56 +02:00
curl_easy_strerror.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_easy_unescape.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_escape.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_formadd.3 docs: unified man page references to use \fI 2016-05-02 09:09:59 +02:00
curl_formfree.3 docs: unified man page references to use \fI 2016-05-02 09:09:59 +02:00
curl_formget.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_free.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_getdate.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_getenv.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_global_cleanup.3 docs: unified man page references to use \fI 2016-05-02 09:09:59 +02:00
curl_global_init_mem.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_global_init.3 curl_global_init.3: improved formatting of the flags 2016-06-29 16:00:46 +02:00
curl_mprintf.3 curl/mprintf.h: remove support for _MPRINTF_REPLACE 2016-04-01 10:46:36 +02:00
curl_multi_add_handle.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_assign.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_cleanup.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_fdset.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_info_read.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_init.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_perform.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_remove_handle.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_setopt.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_socket_action.3 curl_multi_socket_action.3: Fix rewording 2016-06-09 02:10:22 -04:00
curl_multi_socket_all.3 The inital early embryos to describe the curl_multi_socket() API. Committed 2005-12-22 15:11:11 +00:00
curl_multi_socket.3 docs: unified man page references to use \fI 2016-05-02 09:09:59 +02:00
curl_multi_strerror.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_multi_timeout.3 docs: unified man page references to use \fI 2016-05-02 09:09:59 +02:00
curl_multi_wait.3 curl_multi_wait.3: add example 2016-03-09 08:35:17 +01:00
curl_share_cleanup.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_share_init.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_share_setopt.3 curl_share_setopt.3: Add min ver needed for ssl session lock 2016-05-29 16:27:44 -04:00
curl_share_strerror.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_slist_append.3 docs: unified man page references to use \fI 2016-05-02 09:09:59 +02:00
curl_slist_free_all.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_strequal.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_strnequal.3 prepend the man3 dir to the file name to work better. 2004-04-02 11:04:34 +00:00
curl_unescape.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_version_info.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl_version.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
getinfo-times getinfo-times: Typo fixed 2014-08-29 16:41:17 +02:00
index.html libcurl-thread.3: Consolidate thread safety info 2015-07-28 13:57:06 +02:00
libcurl-easy.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
libcurl-errors.3 http2: Add handling stream level error 2016-04-11 21:43:24 -04:00
libcurl-multi.3 libcurl-multi.3: fix small typo 2016-06-01 23:04:16 +02:00
libcurl-share.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
libcurl-thread.3 libcurl-tlibcurl-thread: Update OpenSSL links 2016-05-13 16:01:35 -04:00
libcurl-tutorial.3 URLs: change more http to https 2016-02-04 18:46:54 -05:00
libcurl.3 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
libcurl.m4 libcurl.m4: Avoid obsolete warning 2016-05-20 16:05:39 +02:00
Makefile.am dist: include curl_multi_socket_all.3 2016-05-19 03:13:07 -04:00
mksymbolsmanpage.pl URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
symbols-in-versions symbols-in-versions: add CURL_STRICTER 2016-08-09 21:34:47 +02:00
symbols.pl URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00