mirror of
https://github.com/denoland/deno
synced 2024-10-04 07:09:20 +00:00
fix: remove unstable check for Deno.listenTls#alpnProtocols (#19732)
This commit is contained in:
parent
de630b9b78
commit
106e1bd90e
|
@ -1057,7 +1057,6 @@ where
|
|||
.with_single_cert(cert_chain, key_der)
|
||||
.expect("invalid key or certificate");
|
||||
if let Some(alpn_protocols) = args.alpn_protocols {
|
||||
super::check_unstable(state, "Deno.listenTls#alpn_protocols");
|
||||
tls_config.alpn_protocols =
|
||||
alpn_protocols.into_iter().map(|s| s.into_bytes()).collect();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue