/curl/tests/unit/ |
H A D | unit1399.c | 65 static void expect_timer_seconds(struct Curl_easy *data, int seconds) in expect_timer_seconds() argument 68 msnprintf(msg, sizeof(msg), "about %d seconds should have passed", seconds); in expect_timer_seconds() 69 fail_unless(usec_matches_seconds(data->progress.t_nslookup, seconds), msg); in expect_timer_seconds() 70 fail_unless(usec_matches_seconds(data->progress.t_connect, seconds), msg); in expect_timer_seconds() 71 fail_unless(usec_matches_seconds(data->progress.t_appconnect, seconds), msg); in expect_timer_seconds() 72 fail_unless(usec_matches_seconds(data->progress.t_pretransfer, seconds), in expect_timer_seconds() 74 fail_unless(usec_matches_seconds(data->progress.t_starttransfer, seconds), in expect_timer_seconds()
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_CONNECTTIMEOUT.md | 30 Pass a long. It sets the maximum time in seconds that you allow the connection 37 300 seconds. See also the CURLOPT_TIMEOUT(3) option. 48 to 5, the operation can never last longer than 5 seconds, and the connection 49 phase cannot last longer than 3 seconds. 52 to 2, the operation can never last longer than 2 seconds. Including the 74 /* complete connection within 10 seconds */
|
H A D | CURLOPT_TCP_KEEPIDLE.md | 30 Pass a long. Sets the *delay*, in seconds, to wait while the connection is 55 /* set keep-alive idle time to 120 seconds */ 58 /* interval time between keep-alive probes: 60 seconds */
|
H A D | CURLOPT_TCP_KEEPINTVL.md | 30 Pass a long. Sets the interval, in seconds, to wait between sending keepalive 54 /* set keep-alive idle time to 120 seconds */ 57 /* interval time between keep-alive probes: 60 seconds */
|
H A D | CURLINFO_RETRY_AFTER.md | 31 Pass a pointer to a curl_off_t variable to receive the number of seconds the 36 CURLINFO_RETRY_AFTER(3) always returns the number of seconds to wait - 59 printf("Wait for %" CURL_FORMAT_CURL_OFF_T " seconds\n", wait);
|
H A D | CURLOPT_MAXAGE_CONN.md | 31 Pass a long as parameter containing *age* - the maximum time in seconds 45 118 seconds 58 /* only allow 30 seconds idle time */
|
H A D | CURLOPT_MAXLIFETIME_CONN.md | 33 seconds, since the creation of the connection, that you allow an existing 47 0 seconds (i.e., disabled) 60 /* only allow each connection to be reused for 30 seconds */
|
H A D | CURLOPT_DNS_CACHE_TIMEOUT.md | 32 Pass a long, this sets the timeout in seconds. Name resolve results are kept 33 in memory and used for this number of seconds. Set to zero to completely 35 default, libcurl caches this info for 60 seconds. 76 two seconds have passed since the previous name resolve */
|
H A D | CURLOPT_TIMEOUT.md | 32 seconds that you allow the entire transfer operation to take. The whole thing, 52 to 5, the operation can never last longer than 5 seconds. 55 to 2, the operation can never last longer than 2 seconds. 76 /* complete within 20 seconds */
|
H A D | CURLOPT_LOW_SPEED_TIME.md | 30 Pass a long as parameter. It contains the time in number seconds that the 49 /* abort if slower than 30 bytes/sec during 60 seconds */
|
H A D | CURLOPT_LOW_SPEED_LIMIT.md | 34 CURLOPT_LOW_SPEED_TIME(3) seconds for libcurl to consider it to be too 52 /* abort if slower than 30 bytes/sec during 60 seconds */
|
H A D | CURLINFO_TOTAL_TIME.md | 31 Pass a pointer to a double to receive the total time in seconds for the 33 represents the time in seconds, including fractions.
|
H A D | CURLOPT_TCP_KEEPALIVE.md | 56 /* keep-alive idle time to 120 seconds */ 59 /* interval time between keep-alive probes: 60 seconds */
|
H A D | CURLOPT_TCP_KEEPCNT.md | 56 /* set keep-alive idle time to 120 seconds */ 59 /* interval time between keep-alive probes: 60 seconds */
|
H A D | CURLOPT_SERVER_RESPONSE_TIMEOUT.md | 36 Pass a long. Causes libcurl to set a *timeout* period (in seconds) on the 61 /* wait no more than 23 seconds */
|
/curl/src/ |
H A D | tool_progress.c | 107 static void time2str(char *r, curl_off_t seconds) in time2str() argument 110 if(seconds <= 0) { in time2str() 114 h = seconds / CURL_OFF_T_C(3600); in time2str() 116 curl_off_t m = (seconds - (h*CURL_OFF_T_C(3600))) / CURL_OFF_T_C(60); in time2str() 117 curl_off_t s = (seconds - (h*CURL_OFF_T_C(3600))) - (m*CURL_OFF_T_C(60)); in time2str() 124 curl_off_t d = seconds / CURL_OFF_T_C(86400); in time2str() 125 h = (seconds - (d*CURL_OFF_T_C(86400))) / CURL_OFF_T_C(3600); in time2str()
|
/curl/tests/http/ |
H A D | test_03_goaway.py | 77 assert r.duration >= timedelta(seconds=count) 102 assert nghttpx.reload(timeout=timedelta(seconds=2)) 106 assert r.duration >= timedelta(seconds=count-1) 145 assert r.duration >= timedelta(seconds=count)
|
/curl/docs/cmdline-opts/ |
H A D | speed-limit.md | 22 number of seconds, it gets aborted. The time period is set with --speed-time 23 and is 30 seconds by default.
|
H A D | expect100-timeout.md | 5 Arg: <seconds> 19 Maximum time in seconds that you allow curl to wait for a 100-continue
|
H A D | connect-timeout.md | 5 Arg: <seconds> 19 Maximum time in seconds that you allow curl's connection to take. This only
|
H A D | max-time.md | 6 Arg: <seconds> 21 Set maximum time in seconds that you allow each transfer to take. Prevents
|
H A D | keepalive-time.md | 5 Arg: <seconds> 30 If unspecified, the option defaults to 60 seconds.
|
/curl/tests/ |
H A D | serverhelp.pm | 78 my ($seconds, $usec) = gettimeofday(); 80 localtime($seconds); 84 my $seconds = time(); 86 localtime($seconds);
|
H A D | processhelp.pm | 77 my ($seconds) = @_; 80 Time::HiRes::sleep($seconds); 83 Win32::Sleep($seconds*1000); 86 select(undef, undef, undef, $seconds);
|
/curl/tests/data/ |
H A D | test1238 | 32 # for another 5 seconds after this test has already terminated. 41 # if less than 1000 bytes/sec within 2 seconds, abort!
|