Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 78) sorted by relevance

1234

/curl/lib/
H A Dstrcase.c119 static int ncasecompare(const char *first, const char *second, size_t max) in ncasecompare() argument
121 while(*first && *second && max) { in ncasecompare()
124 max--; in ncasecompare()
128 if(0 == max) in ncasecompare()
135 int curl_strnequal(const char *first, const char *second, size_t max) in curl_strnequal() argument
139 return ncasecompare(first, second, max); in curl_strnequal()
142 return (NULL == first && NULL == second && max); in curl_strnequal()
H A Dgetenv.c45 const DWORD max = 32768; /* max env var size from MSCRT source */ in GetEnv()
60 if(!rc || rc == bufsize || rc > max) { in GetEnv()
/curl/docs/cmdline-opts/
H A Dmax-time.md4 Long: max-time
13 - retry-max-time
15 - --max-time 10 $URL
16 - --max-time 2.92 $URL
19 # `--max-time`
26 reset each time the transfer is retried. You can use --retry-max-time to limit
H A Dtls-max.md4 Long: tls-max
19 - --tls-max 1.2 $URL
20 - --tls-max 1.3 --tlsv1.2 $URL
23 # `--tls-max`
H A Dretry-max-time.md4 Long: retry-max-time
13 - --retry-max-time 30 --retry 10 $URL
16 # `--retry-max-time`
22 limit a single request's maximum time, use --max-time. Set this option to zero
H A Dparallel-max.md4 Long: parallel-max
14 - --parallel-max 100 -Z $URL ftp://example.com/
17 # `--parallel-max`
H A Dmax-redirs.md4 Long: max-redirs
14 - --max-redirs 3 --location $URL
17 # `--max-redirs`
H A Dmax-filesize.md4 Long: max-filesize
14 - --max-filesize 100K $URL
17 # `--max-filesize`
H A Dtlsv1.1.md12 - tls-max
22 That behavior was inconsistent depending on the TLS library. Use --tls-max if
H A Dtlsv1.2.md12 - tls-max
22 That behavior was inconsistent depending on the TLS library. Use --tls-max if
/curl/docs/libcurl/opts/
H A DCURLMOPT_MAX_CONCURRENT_STREAMS.md17 CURLMOPT_MAX_CONCURRENT_STREAMS - max concurrent streams for http2
25 long max);
30 Pass a long indicating the **max**. The set number is used as the maximum
49 /* max concurrent streams 200 */
H A DCURLMOPT_MAX_HOST_CONNECTIONS.md17 CURLMOPT_MAX_HOST_CONNECTIONS - max number of connections to a single host
25 long max);
30 Pass a long to indicate **max**. The set number is used as the maximum amount
37 The default **max** value is 0, unlimited. This set limit is also used for
/curl/tests/data/
H A Dtest2747 --max-redirs
28 HTTP Location: following with --max-redirs 0
31 http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L --max-redirs 0
H A Dtest42122 access-control-max-age: 1728000
27 cache-control: max-age=0, private, must-revalidate
29 strict-transport-security: max-age=31536000; includeSubDomains
72 "access-control-max-age":["1728000"],
76 "cache-control":["max-age=0, private, must-revalidate"],
78 "strict-transport-security":["max-age=31536000; includeSubDomains"],
H A Dtest3936 --max-filesize
41 HTTP max-filesize and out-of-range Content-Length
44 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 2000000
H A Dtest141017 Pass in negative number to --max-time
20 http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --max-time -4
H A Dtest30186 --max-filesize
31 MQTT SUBSCRIBE with PUBLISH larger than --max-filesize
34 mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER --max-filesize 11
H A Dtest2905 --max-filesize
24 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --max-filesize 30
H A Dtest2916 --max-filesize
30 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --max-filesize 100
H A Dtest36630 HTTP --retry-max-time with too long Retry-After
33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 2 --retry-max-time 10
H A Dtest2936 --max-filesize
40 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 2
/curl/docs/examples/
H A Dftpuploadfrommem.c51 size_t max = size*nmemb; in read_callback() local
53 if(max < 1) in read_callback()
57 size_t copylen = max; in read_callback()
/curl/src/
H A Dtool_paramhlp.h43 ParameterError oct2nummax(long *val, const char *str, long max);
44 ParameterError str2unummax(long *val, const char *str, long max);
H A Dtool_paramhlp.c79 size_t max) in memcrlf() argument
82 size_t total = max; in memcrlf()
83 for(ptr = orig; max; max--, ptr++) { in memcrlf()
189 ParameterError oct2nummax(long *val, const char *str, long max) in oct2nummax() argument
194 else if(*val > max) in oct2nummax()
232 ParameterError str2unummax(long *val, const char *str, long max) in str2unummax() argument
237 if(*val > max) in str2unummax()
256 static ParameterError str2double(double *val, const char *str, double max) in str2double() argument
265 if(num > max) { in str2double()
/curl/tests/unit/
H A Dunit1655.c50 static const char max[] = variable
99 { max, DOH_OK } /* expect buffer overwrite */
118 if(name == max) {

Completed in 25 milliseconds

1234