mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
fix: support "fetch" over HTTPS for IP addresses (#18499)
This commit adds support for connecting to IP addresses over HTTPS. This is done by updating "rustls" to "0.21.0" and other related crates. Closes https://github.com/denoland/deno/issues/7660 Closes https://github.com/denoland/deno/issues/17967 --------- Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
This commit is contained in:
parent
867a6d3032
commit
cb87cb0283
8 changed files with 61 additions and 46 deletions
|
@ -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 contents: invalid peer certificate: UnknownIssuer
|
||||
error: 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]
|
||||
|
|
5
cli/tests/testdata/run/websocket_test.ts
vendored
5
cli/tests/testdata/run/websocket_test.ts
vendored
|
@ -161,7 +161,10 @@ Deno.test("websocket error", async () => {
|
|||
assert(err instanceof ErrorEvent);
|
||||
|
||||
// Error message got changed because we don't use warp in test_util
|
||||
assertEquals(err.message, "InvalidData: received corrupt message");
|
||||
assertEquals(
|
||||
err.message,
|
||||
"InvalidData: received corrupt message of type InvalidContentType",
|
||||
);
|
||||
promise1.resolve();
|
||||
};
|
||||
await promise1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue