summaryrefslogtreecommitdiff
path: root/ext/net/ops_tls.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-07-04 15:28:50 +0200
committerGitHub <noreply@github.com>2023-07-04 15:28:50 +0200
commit39872646eba1160958b6edd042be905b7cf4dd0c (patch)
tree692564fa48ade42fed29ed83fac0e9967ead509f /ext/net/ops_tls.rs
parentaaabff710f756f7dc8651b8e92e4cc5147830e49 (diff)
feat: stabilize 'alpnProtocols' setting (#19704)
Ref https://github.com/denoland/deno/issues/19685
Diffstat (limited to 'ext/net/ops_tls.rs')
-rw-r--r--ext/net/ops_tls.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/net/ops_tls.rs b/ext/net/ops_tls.rs
index 7f451d0a8..fae4fb9b8 100644
--- a/ext/net/ops_tls.rs
+++ b/ext/net/ops_tls.rs
@@ -841,7 +841,6 @@ where
)?;
if let Some(alpn_protocols) = args.alpn_protocols {
- super::check_unstable2(&state, "Deno.startTls#alpnProtocols");
tls_config.alpn_protocols =
alpn_protocols.into_iter().map(|s| s.into_bytes()).collect();
}
@@ -940,7 +939,6 @@ where
)?;
if let Some(alpn_protocols) = args.alpn_protocols {
- super::check_unstable2(&state, "Deno.connectTls#alpnProtocols");
tls_config.alpn_protocols =
alpn_protocols.into_iter().map(|s| s.into_bytes()).collect();
}