Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 57) sorted by relevance

123

/curl/docs/cmdline-opts/
H A Dspeed-time.md7 Help: Trigger 'speed-limit' abort after this time
12 - speed-limit
13 - limit-rate
15 - --speed-limit 300 --speed-time 10 $URL
20 If a transfer runs slower than speed-limit bytes per second during a
22 speed-limit is 1 unless set with --speed-limit.
H A Dlimit-rate.md4 Long: limit-rate
12 - speed-limit
15 - --limit-rate 100K $URL
16 - --limit-rate 1000 $URL
17 - --limit-rate 10M $URL
20 # `--limit-rate`
35 If you also use the --speed-limit option, that option takes precedence and
36 might cripple the rate-limiting slightly, to help keeping the speed-limit
H A Dspeed-limit.md4 Long: speed-limit
13 - limit-rate
16 - --speed-limit 300 --speed-time 10 $URL
19 # `--speed-limit`
H A Dretry-max-time.md20 limit. Notice that if the timer has not reached the limit, the request is
22 limit a single request's maximum time, use --max-time. Set this option to zero
H A Dmax-filesize.md12 - limit-rate
23 Setting the maximum value to zero disables the limit.
31 ends up being larger than this given limit.
H A Dmax-redirs.md20 prevent curl from following too many redirects, by default, the limit is
H A Drate.md12 - limit-rate
46 or limit it to 3 transfers per 4 hours with "3/4h". No spaces allowed.
H A Dmax-time.md26 reset each time the transfer is retried. You can use --retry-max-time to limit
H A Dretry.md28 --retry-max-time to limit the total time allowed for retries.
/curl/docs/libcurl/opts/
H A DCURLMOPT_MAX_HOST_CONNECTIONS.md33 might open a new connection up to the limit set by
34 CURLMOPT_MAX_HOST_CONNECTIONS(3). When the limit is reached, new sessions are
37 The default **max** value is 0, unlimited. This set limit is also used for
39 this limit counts.
42 due to the set limit, they are queued up waiting for their chance.
H A DCURLMOPT_MAX_TOTAL_CONNECTIONS.md32 new session, libcurl might open a new connection up to the limit set by
37 due to the set limit, they get queued up waiting for their chance.
53 0, which means that there is no limit. It is then simply controlled by the
H A DCURLOPT_MAXREDIRS.md30 Pass a long. The set number is the redirection limit *amount*. If that
35 Setting the limit to 0 makes libcurl refuse any redirect.
H A DCURLOPT_MAX_RECV_SPEED_LARGE.md18 CURLOPT_MAX_RECV_SPEED_LARGE - rate limit data download speed
39 libcurl might download faster than the set limit initially.
H A DCURLOPT_MAXFILESIZE.md37 ends up being larger than this given limit.
39 If you want a limit above 2GB, use CURLOPT_MAXFILESIZE_LARGE(3).
H A DCURLOPT_MAX_SEND_SPEED_LARGE.md17 CURLOPT_MAX_SEND_SPEED_LARGE - rate limit data upload speed
39 CURLOPT_UPLOAD_BUFFERSIZE(3), libcurl might "shoot over" the limit on
H A DCURLOPT_MAXCONNECTS.md37 When reaching the maximum limit, curl closes the oldest connection present in
63 /* limit the connection cache for this handle to no more than 3 */
H A DCURLOPT_LOW_SPEED_TIME.md17 CURLOPT_LOW_SPEED_TIME - low speed limit time period
H A DCURLOPT_LOW_SPEED_LIMIT.md19 CURLOPT_LOW_SPEED_LIMIT - low speed limit in bytes per second
H A DCURLMOPT_MAX_PIPELINE_LENGTH.md36 When this limit is reached, libcurl creates another connection to the same
H A DCURLOPT_FOLLOWLOCATION.md39 the maximum limit is reached. CURLOPT_MAXREDIRS(3) is used to limit the number
/curl/lib/
H A Dprogress.c253 data->progress.ul.limit.start = data->progress.start; in Curl_pgrsStartNow()
254 data->progress.dl.limit.start = data->progress.start; in Curl_pgrsStartNow()
255 data->progress.ul.limit.start_size = 0; in Curl_pgrsStartNow()
256 data->progress.dl.limit.start_size = 0; in Curl_pgrsStartNow()
286 curl_off_t size = d->cur_size - d->limit.start_size; in Curl_pgrsLimitWaitTime()
311 actual = Curl_timediff_ceil(now, d->limit.start); in Curl_pgrsLimitWaitTime()
337 if(Curl_timediff(now, data->progress.dl.limit.start) >= in Curl_ratelimit()
339 data->progress.dl.limit.start = now; in Curl_ratelimit()
340 data->progress.dl.limit.start_size = data->progress.dl.cur_size; in Curl_ratelimit()
344 if(Curl_timediff(now, data->progress.ul.limit.start) >= in Curl_ratelimit()
[all …]
/curl/tests/libtest/
H A Dlib1523.c51 static CURLcode run(CURL *hnd, long limit, long time) in run() argument
53 curl_easy_setopt(hnd, CURLOPT_LOW_SPEED_LIMIT, limit); in run()
/curl/tests/data/
H A Dtest72929 http://fake --limit-rate 1 -x socks4a://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa…
H A Dtest11030 FTP download resume with set limit
/curl/tests/
H A Drunner.pm482 my $limit = $_;
486 if(!defined($limit)) {
490 if($tortalloc && ($tortalloc != $limit)) {
498 logmsg "Fail function no: $limit at $now\r";
502 $ENV{'CURL_MEMLIMIT'} = $limit;
521 logmsg "*** Function number $limit is now set to fail ***\n" if($gdbthis);
580 logmsg " $testnum: torture FAILED: function number $limit in test.\n",
581 " invoke with \"-t$limit\" to repeat this single case.\n";

Completed in 24 milliseconds

123