summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2023-12-15 14:52:40 +0530
committerGitHub <noreply@github.com>2023-12-15 10:22:40 +0100
commit28048e7c12e4d9e26c265762cedc30a75876267c (patch)
tree5d95b758df397e8354ced10e61e4962bb3aa4f08
parent94c70fd71971f640447c95764aaf873e18070405 (diff)
fix(net): remove unstable check for unix socket listen (#21592)
Fixes https://github.com/denoland/deno/issues/21587 It seems this was missed in https://github.com/denoland/deno/pull/21463. cc @bartlomieju
-rw-r--r--ext/net/ops_unix.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/net/ops_unix.rs b/ext/net/ops_unix.rs
index a36f1c30b..ae37415ce 100644
--- a/ext/net/ops_unix.rs
+++ b/ext/net/ops_unix.rs
@@ -200,7 +200,6 @@ where
NP: NetPermissions + 'static,
{
let address_path = Path::new(&path);
- super::check_unstable(state, &api_name);
let permissions = state.borrow_mut::<NP>();
let api_call_expr = format!("{}()", api_name);
permissions.check_read(address_path, &api_call_expr)?;