Home
last modified time | relevance | path

Searched +full:- +full:- +full:retry (Results 1 – 25 of 1011) sorted by relevance

12345678910>>...41

/third_party/curl/docs/cmdline-opts/
Dretry-connrefused.md1 ---
3 SPDX-License-Identifier: curl
4 Long: retry-connrefused
5 Help: Retry on connection refused (use with --retry)
9 See-also:
10 - retry
11 - retry-all-errors
13 - --retry-connrefused --retry 7 $URL
14 ---
16 # `--retry-connrefused`
[all …]
Dretry-all-errors.md1 ---
3 SPDX-License-Identifier: curl
4 Long: retry-all-errors
5 Help: Retry all errors (use with --retry)
9 See-also:
10 - retry
12 - --retry 5 --retry-all-errors $URL
13 ---
15 # `--retry-all-errors`
17 Retry on any error. This option is used together with --retry.
[all …]
Dretry.md1 ---
3 SPDX-License-Identifier: curl
4 Long: retry
7 Help: Retry request if transient problems occur
10 See-also:
11 - retry-max-time
13 - --retry 7 $URL
14 ---
16 # `--retry`
24 When curl is about to retry a transfer, it first waits one second and then for
[all …]
Dretry-max-time.md1 ---
3 SPDX-License-Identifier: curl
4 Long: retry-max-time
6 Help: Retry only within this period
10 See-also:
11 - retry
13 - --retry-max-time 30 --retry 10 $URL
14 ---
16 # `--retry-max-time`
18 The retry timer is reset before the first transfer attempt. Retries are done
[all …]
Dretry-delay.md1 ---
3 SPDX-License-Identifier: curl
4 Long: retry-delay
10 See-also:
11 - retry
13 - --retry-delay 5 --retry 7 $URL
14 ---
16 # `--retry-delay`
18 Make curl sleep this amount of time before each retry when a transfer has
20 between retries). This option is only interesting if --retry is also
/third_party/node/deps/undici/src/docs/api/
DRetryHandler.md5 A handler class that implements the retry logic for a request.
11 - **options** `Dispatch.DispatchOptions & RetryOptions` (required) - It is an intersection of `Disp…
12 - **retryHandlers** `RetryHandlers` (required) - Object containing the `dispatch` to be used on eve…
18 Extends: [`Dispatch.DispatchOptions`](Dispatcher.md#parameter-dispatchoptions).
22 - **retry** `(err: Error, context: RetryContext, callback: (err?: Error | null) => void) => void` (…
23 - **maxRetries** `number` (optional) - Maximum number of retries. Default: `5`
24 - **maxTimeout** `number` (optional) - Maximum number of milliseconds to wait before retrying. Defa…
25 - **minTimeout** `number` (optional) - Minimum number of milliseconds to wait before retrying. Defa…
26 - **timeoutFactor** `number` (optional) - Factor to multiply the timeout by for each retry attempt.…
27 - **retryAfter** `boolean` (optional) - It enables automatic retry after the `Retry-After` header i…
[all …]
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/
Doptions.js4 'if-modified-since',
5 'if-none-match',
6 'if-unmodified-since',
7 'if-match',
8 'if-range',
16 if (!options.retry) {
17 options.retry = { retries: 0 }
18 } else if (typeof options.retry === 'string') {
19 const retries = parseInt(options.retry, 10)
21 options.retry = { retries }
[all …]
/third_party/libwebsockets/include/libwebsockets/
Dlws-retry.h2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2019 Andy Green <andy@warmcat.com>
37 * lws_retry_get_delay_ms() - get next delay from backoff table
40 * \param retry: the retry backoff table we are using, or NULL for default
46 * next connection retry, according to the backoff table \p retry. *\p conceal is
51 * If \p retry is NULL, a default of 3s + (0..300ms jitter) is used. If it's
52 * non-NULL but jitter_percent is 0, the default of 30% jitter is retained.
56 lws_retry_get_delay_ms(struct lws_context *context, const lws_retry_bo_t *retry,
60 * lws_retry_sul_schedule() - schedule a sul according to the backoff table
64 * \param retry: the retry backoff table we are using, or NULL for default
[all …]
/third_party/skia/infra/bots/recipe_modules/run/examples/full.expected/
Dtest.json53 "-u",
55 "--json-output",
70 "-u",
72 "--json-output",
88 "-u",
90 "--json-output",
101 "-u",
103 "--json-output",
134 "name": "retry fail",
158 "name": "retry fail (attempt 2)",
[all …]
/third_party/curl/tests/data/
Dtest16336 RETRY-AFTER
11 # Server-side
15 Accept-Ranges: bytes
16 Content-Length: 0
23 Retry-After: 1
24 Content-Length: 0
31 Accept-Ranges: bytes
32 Content-Length: 0
37 Retry-After: 1
38 Content-Length: 0
[all …]
Dtest3666 retry
10 # Server-side
15 Content-Length: 21
16 Retry-After: 200
24 # Client-side
30 HTTP --retry-max-time with too long Retry-After
33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 2 --retry-max-time 10
43 User-Agent: curl/%VERSION
Dtest16346 RETRY-AFTER
11 # Server-side
15 Retry-After: 1
16 Content-Length: 4
22 Content-Length: 4
30 Retry-After: 1
31 Content-Length: 4
34 Content-Length: 4
42 # Client-side
48 --retry with a 429 response and Retry-After: and --fail
[all …]
Dtest16356 RETRY-AFTER
11 # Server-side
15 Retry-After: 1
16 Content-Length: 4
22 Content-Length: 4
31 # Client-side
37 --retry with a 429 response and Retry-After: and --fail-with-body
39 <command option="no-include">
40 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 1 --fail-with-body
50 User-Agent: curl/%VERSION
[all …]
Dtest30106 RETRY-AFTER
10 # Server-side
15 Server: test-server/fake
16 Content-Type: text/html
17 Content-Length: 0
18 Retry-After: 2
25 Server: test-server/fake
26 Content-Type: text/html
27 Content-Length: 0
32 # Client-side
[all …]
/third_party/skia/infra/bots/recipe_modules/run/examples/
Dfull.py2 # Use of this source code is governed by a BSD-style license that can be
52 api.run.with_retry(api.step, 'retry fail', 5, cmd=['false'],
58 api.run.with_retry(api.step, 'retry success', 3, cmd=['false'],
67 buildername = 'Build-Win-Clang-x86_64-Release-Vulkan'
78 api.step_data('retry fail', retcode=1) +
79 api.step_data('retry fail (attempt 2)', retcode=1) +
80 api.step_data('retry fail (attempt 3)', retcode=1) +
81 api.step_data('retry fail (attempt 4)', retcode=1) +
82 api.step_data('retry fail (attempt 5)', retcode=1) +
83 api.step_data('retry success', retcode=1) +
[all …]
/third_party/node/deps/npm/node_modules/promise-retry/
Dpackage.json2 "name": "promise-retry",
4 …"description": "Retries a function that returns a promise, leveraging the power of the retry modul…
7 "test": "mocha --bail -t 10000"
10 "url": "https://github.com/IndigoUnited/node-promise-retry/issues/"
14 "url": "git://github.com/IndigoUnited/node-promise-retry.git"
17 "retry",
28 "sleep-promise": "^8.0.1"
31 "err-code": "^2.0.2",
32 "retry": "^0.12.0" string
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/
Dstatic-policy.json4 "schema-version": 1,
5 "retry": [{ array
55 "retry": "default", string
71 "retry": "default", string
88 "http_mime_content_type": "application/json; charset=UTF-8",
91 "retry": "default", string
109 "http_mime_content_type": "application/octet-stream",
111 "retry": "default", string
121 "http_dsn_header": "x-dsn:",
122 "http_fwv_header": "x-fw-version:",
[all …]
/third_party/node/deps/npm/node_modules/retry/test/integration/
Dtest-retry-operation.js4 var retry = require(common.dir.lib + '/retry'); variable
8 var operation = retry.operation([1, 2, 3]);
21 if (operation.retry(error)) {
46 var operation = retry.operation();
57 var operation = retry.operation();
69 var operation = retry.operation();
80 var operation = retry.operation();
96 var operation = retry.operation([1, 2, 3]);
106 if (operation.retry(error)) {
122 var operation = retry.operation({ retries: 3, forever: true });
[all …]
/third_party/node/deps/npm/node_modules/promise-retry/test/
Dtest.js5 var promiseDelay = require('sleep-promise');
7 describe('promise-retry', function () {
8 it('should call fn again if retry was called', function () {
11 return promiseRetry(function (retry) { argument
17 retry(new Error('foo'));
34 return promiseRetry(function (retry, number) { argument
41 retry(new Error('foo'));
55 it('should not retry on fulfillment if retry was not called', function () {
74 it('should not retry on rejection if retry was not called', function () {
93 it('should not retry on rejection if nr of retries is 0', function () {
[all …]
/third_party/toybox/toys/pending/
Dtftp.c1 /* tftp.c - TFTP client.
18 -l FILE Local FILE
19 -r FILE Remote FILE
20 -g Get file
21 -p Put file
22 -b SIZE Transfer blocks of SIZE octets(8 <= SIZE <= 65464)
41 #define TFTP_DATASIZE (TFTP_PACKETSIZE-TFTP_DATAHEADERSIZE)
77 ((struct sockaddr_in6 *)server)->sin6_family = AF_INET6;
78 ((struct sockaddr_in6 *)server)->sin6_addr =
79 ((struct sockaddr_in6 *)&TT.inaddr)->sin6_addr;
[all …]
/third_party/openssl/doc/man3/
DBIO_should_retry.pod7 BIO_get_retry_BIO, BIO_get_retry_reason, BIO_set_retry_reason - BIO retry
36 has insufficient data to return. Check for readability and/or retry the
40 has pending data to write. Check for writability and/or retry the
46 BIO_retry_type() returns a mask of the cause of a retry condition
60 BIO_set_retry_reason() sets the retry reason for a special condition for a given
78 BIO types will not request a retry, because the underlying I/O
80 signal a retry then it need not call BIO_should_retry() after a failed
84 retry even if the underlying I/O structure is blocking, if a handshake
85 occurs during a call to BIO_read(). An application can retry the failed
89 While an application may retry a failed non blocking call immediately
[all …]
/third_party/curl/tests/libtest/
Dlib1594.c21 * SPDX-License-Identifier: curl
25 /* Testing Retry-After header parser */
34 curl_off_t retry; in test() local
48 res = curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry); in test()
55 retry += time(NULL); in test()
56 retry /= 10000; in test()
58 printf("Retry-After %" CURL_FORMAT_CURL_OFF_T "\n", retry); in test()
/third_party/node/deps/undici/src/lib/handler/
DRetryHandler.js9 const diff = new Date(retryAfter).getTime() - current
18 // Retry scoped
19 retry: retryFn,
37 retry: retryFn ?? RetryHandler[kRetryHandlerDefaultRetry], property
43 // What errors we should retry
45 // Indicates which errors to retry
47 // List of errors to retry
118 // Any code that is not a Undici's originated and allowed to retry
151 let retryAfterHeader = headers != null && headers['retry-after']
156 : retryAfterHeader * 1e3 // Retry-After is in seconds
[all …]
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client/
Dminimal-ws-client.c2 * lws-minimal-ws-client
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
23 lws_sorted_usec_list_t sul; /* schedule connection retry */
31 *pro = "dumb-increment-protocol";
34 * The retry and backoff policy we want to use for our client connections
39 static const lws_retry_bo_t retry = { variable
70 i.local_protocol_name = "lws-minimal-client"; in connect_client()
71 i.pwsi = &mco->wsi; in connect_client()
72 i.retry_and_idle_policy = &retry; in connect_client()
77 * Failed... schedule a retry... we can't use the _retry_wsi() in connect_client()
[all …]
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-testsfail/
Dminimal-secure-streams-testsfail.c2 * lws-minimal-secure-streams
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
14 * --amount xxx, the default without that is 12345 bytes.
31 * If the -proxy app is fulfilling our connection, then we don't need to have
36 * ./lws-minimal-secure-streams-proxy test app on the same machine.
44 "\"schema-version\":" "1,"
46 "\"via-socks5\":" "\"127.0.0.1:1080\","
49 "\"retry\": [" /* named backoff / retry strategies */
189 "\"retry\": \"default\","
207 "\"retry\": \"default\""
[all …]

12345678910>>...41