mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +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
|
@ -1337,7 +1337,7 @@ Deno.test(
|
|||
await assertRejects(
|
||||
() => conn.handshake(),
|
||||
Deno.errors.InvalidData,
|
||||
"BadCertificate",
|
||||
"received fatal alert",
|
||||
);
|
||||
}
|
||||
conn.close();
|
||||
|
@ -1368,7 +1368,7 @@ Deno.test(
|
|||
await assertRejects(
|
||||
() => tlsConn.handshake(),
|
||||
Deno.errors.InvalidData,
|
||||
"CertNotValidForName",
|
||||
"NotValidForName",
|
||||
);
|
||||
tlsConn.close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue