fix: remove unstable check for Deno.listenTls#alpnProtocols (#19732)

This commit is contained in:
Bartek Iwańczuk 2023-07-06 15:45:15 +02:00 committed by GitHub
parent de630b9b78
commit 106e1bd90e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}