/curl/src/ |
H A D | tool_sleep.c | 46 void tool_go_sleep(long ms) in tool_go_sleep() argument 49 delay(ms); in tool_go_sleep() 51 Sleep((DWORD)ms); in tool_go_sleep() 54 timeout.tv_sec = ms / 1000L; in tool_go_sleep() 55 ms = ms % 1000L; in tool_go_sleep() 56 timeout.tv_usec = (int)ms * 1000; in tool_go_sleep()
|
H A D | tool_sleep.h | 28 void tool_go_sleep(long ms);
|
/curl/lib/ |
H A D | timediff.c | 37 struct timeval *curlx_mstotv(struct timeval *tv, timediff_t ms) in curlx_mstotv() argument 42 if(ms < 0) in curlx_mstotv() 45 if(ms > 0) { in curlx_mstotv() 46 timediff_t tv_sec = ms / 1000; in curlx_mstotv() 47 timediff_t tv_usec = (ms % 1000) * 1000; /* max=999999 */ in curlx_mstotv()
|
H A D | timediff.h | 45 struct timeval *curlx_mstotv(struct timeval *tv, timediff_t ms);
|
H A D | easy.c | 410 ev->ms = timeout_ms; in events_timer() 586 pollrc = Curl_poll(fds, (unsigned int)numfds, ev->ms); in wait_or_timeout() 589 numfds, ev->ms, pollrc); in wait_or_timeout() 599 if(ev->ms > 0) in wait_or_timeout() 600 Curl_wait_ms(ev->ms); in wait_or_timeout() 607 ev->ms = 0; in wait_or_timeout() 635 if(!ev->msbump && ev->ms >= 0) { in wait_or_timeout() 643 "time spent %ldms\n", ev->ms, (long)timediff); in wait_or_timeout() 645 if(timediff > ev->ms) in wait_or_timeout() 646 ev->ms = 0; in wait_or_timeout() [all …]
|
H A D | asyn-thread.c | 642 timediff_t ms; in Curl_resolver_getsock() local 659 ms = Curl_timediff(Curl_now(), reslv->start); in Curl_resolver_getsock() 660 if(ms < 3) in Curl_resolver_getsock() 662 else if(ms <= 50) in Curl_resolver_getsock() 663 milli = ms/3; in Curl_resolver_getsock() 664 else if(ms <= 250) in Curl_resolver_getsock()
|
H A D | connect.c | 181 timediff_t left_ms = 0, ms; in Curl_conn_shutdown_timeleft() local 192 ms = Curl_shutdown_timeleft(conn, i, nowp); in Curl_conn_shutdown_timeleft() 193 if(ms && (!left_ms || ms < left_ms)) in Curl_conn_shutdown_timeleft() 194 left_ms = ms; in Curl_conn_shutdown_timeleft() 399 #define USETIME(ms) ((ms > TIMEOUT_LARGE) ? (ms / 2) : ms) argument
|
H A D | conncache.c | 966 timediff_t next_from_now_ms = 0, ms; in cpool_perform() local 993 ms = Curl_conn_shutdown_timeleft(conn, nowp); in cpool_perform() 994 if(ms && ms < next_from_now_ms) in cpool_perform() 995 next_from_now_ms = ms; in cpool_perform()
|
H A D | cf-socket.c | 1731 timediff_t ms = Curl_timediff(ctx->first_byte_at, ctx->started_at); in cf_socket_query() local 1732 *pres1 = (ms < INT_MAX) ? (int)ms : INT_MAX; in cf_socket_query()
|
/curl/docs/cmdline-opts/ |
H A D | happy-eyeballs-timeout-ms.md | 4 Long: happy-eyeballs-timeout-ms 5 Arg: <ms> 14 - --happy-eyeballs-timeout-ms 500 $URL 17 # `--happy-eyeballs-timeout-ms` 26 "It is RECOMMENDED that connection attempts be paced 150-250 ms apart to 28 200 ms. Firefox and Chrome currently default to 300 ms.
|
H A D | Makefile.inc | 120 happy-eyeballs-timeout-ms.md \
|
/curl/tests/libtest/ |
H A D | first.c | 67 void wait_ms(int ms) in wait_ms() argument 69 if(ms < 0) in wait_ms() 72 Sleep((DWORD)ms); in wait_ms() 76 curlx_mstotv(&t, ms); in wait_ms()
|
H A D | test.h | 71 extern void wait_ms(int ms); /* wait this many milliseconds */
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.md | 39 150-250 ms apart to balance human factors against network load." libcurl 40 currently defaults to 200 ms. Firefox and Chrome currently default to 300 ms.
|
H A D | CURLOPT_ACCEPTTIMEOUT_MS.md | 25 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_ACCEPTTIMEOUT_MS, long ms);
|
H A D | CURLOPT_UPKEEP_INTERVAL_MS.md | 57 /* Set the interval to 30000ms / 30s */
|
H A D | CURLMOPT_TIMERFUNCTION.md | 25 long timeout_ms, /* timeout in number of ms */
|
/curl/tests/ |
H A D | test1139.pl | 83 my @ms = sort @m; 85 if($ms[$i] ne $m[$i]) { 86 print STDERR "$file:1:ERROR: $m[$i] is not alphabetical (expected $ms[$i])\n";
|
/curl/docs/libcurl/ |
H A D | curl_easy_upkeep.md | 58 /* Set the interval to 30000ms / 30s */
|
/curl/projects/ |
H A D | build-openssl.bat | 221 if exist "%START_DIR%\ms\do_ms.bat" ( 462 call ms\do_ms.bat 464 call ms\do_win64a.bat 470 nmake -f ms\nt.mak 472 nmake -f ms\ntdll.mak
|
/curl/docs/ |
H A D | options-in-versions | 85 --happy-eyeballs-timeout-ms 7.59.0
|
/curl/tests/data/ |
H A D | test396 | 39 yLrOzSoJKq2aJUadLQgFtLV6UcfzOw296pBr0/ms+rHmnTs5jnmC0eqLUKV72l4Ym3HYkknmcEsY
|
/curl/lib/vtls/ |
H A D | wolfssl.c | 184 unsigned char *ms, *sr, *cr; in wolfssl_log_tls12_secret() local 205 if(wolfSSL_get_keys(ssl, &ms, &msLen, &sr, &srLen, &cr, &crLen) != in wolfssl_log_tls12_secret() 214 x |= ms[i]; in wolfssl_log_tls12_secret() 220 Curl_tls_keylog_write("CLIENT_RANDOM", cr, ms, msLen); in wolfssl_log_tls12_secret()
|
/curl/lib/vquic/ |
H A D | curl_quiche.c | 1558 timediff_t ms = Curl_timediff(ctx->q.first_byte_at, ctx->started_at); in cf_quiche_query() local 1559 *pres1 = (ms < INT_MAX) ? (int)ms : INT_MAX; in cf_quiche_query()
|
/curl/CMake/ |
H A D | PickyWarnings.cmake | 190 -Wno-pedantic-ms-format # gcc 4.5 (MinGW-only)
|