Home
last modified time | relevance | path

Searched refs:retry_after (Results 1 – 5 of 5) sorted by relevance

/curl/tests/libtest/
H A Dlib3010.c32 curl_off_t retry_after; in test() local
47 curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry_after); in test()
48 printf("Retry-After %" CURL_FORMAT_CURL_OFF_T "\n", retry_after); in test()
58 curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry_after); in test()
59 printf("Retry-After %" CURL_FORMAT_CURL_OFF_T "\n", retry_after); in test()
/curl/lib/
H A Dgetinfo.c83 info->retry_after = 0; in Curl_initinfo()
443 *param_offt = data->info.retry_after; in getinfo_offt()
H A Dhttp.c3058 curl_off_t retry_after = 0; /* zero for unknown or "now" */ in Curl_http_header() local
3060 (void)curlx_strtoofft(v, NULL, 10, &retry_after); in Curl_http_header()
3061 if(!retry_after) { in Curl_http_header()
3065 retry_after = date - time(NULL); in Curl_http_header()
3067 data->info.retry_after = retry_after; /* store it */ in Curl_http_header()
H A Durldata.h1032 curl_off_t retry_after; /* info from Retry-After: header */ member
/curl/src/
H A Dtool_operate.c624 curl_off_t retry_after = 0; in post_per_transfer() local
636 curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry_after); in post_per_transfer()
637 if(retry_after) { in post_per_transfer()
639 if(retry_after > LONG_MAX/1000) in post_per_transfer()
641 else if((retry_after * 1000) > sleeptime) in post_per_transfer()
642 sleeptime = (long)retry_after * 1000; /* milliseconds */ in post_per_transfer()
650 if((CURL_OFF_T_MAX - retry_after < seconds) || in post_per_transfer()
651 (seconds + retry_after > config->retry_maxtime)) { in post_per_transfer()

Completed in 29 milliseconds