diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-08-01 10:52:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-01 10:52:28 +0200 |
| commit | 5df2b0b4dc17cdccaada24ab3993c8983cabc925 (patch) | |
| tree | 2b86c9a9ff398c960060940ae6eb4ba1efd994e6 /cli/tests/testdata/cert | |
| parent | a05e890d566979ead5f94ef9c897c0fa5b0bfdc7 (diff) | |
fix: retry module download once if server errored (#17252)
Closes https://github.com/denoland/deno/issues/17251
Closes #19970
This commits adds logic to retry failed module downloads once.
Both request and server errors are handled and the retry is done after
50 ms wait time.
Diffstat (limited to 'cli/tests/testdata/cert')
| -rw-r--r-- | cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out b/cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out index 4b95c1136..81e490c1c 100644 --- a/cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out +++ b/cli/tests/testdata/cert/localhost_unsafe_ssl.ts.out @@ -1,3 +1,3 @@ DANGER: TLS certificate validation is disabled for: deno.land -error: error sending request for url (https://localhost:5545/subdir/mod2.ts): error trying to connect: invalid peer certificate: UnknownIssuer +error: Import 'https://localhost:5545/subdir/mod2.ts' failed: error sending request for url (https://localhost:5545/subdir/mod2.ts): error trying to connect: invalid peer certificate: UnknownIssuer at file:///[WILDCARD]/cafile_url_imports.ts:[WILDCARD] |
