diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-12-14 00:54:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 00:54:11 +0100 |
commit | f9db129bdf1e09f6d5faaa73ad0cad27d2418798 (patch) | |
tree | ffbdd7dd703e6478b8e24f01f9917ba9705365d1 /ext/net/ops.rs | |
parent | 392cca87a80951eef32c96a127d73ebe33a9e117 (diff) |
feat: Stabilize Deno.TcpConn.setNoDelay() and Deno.TcpConn.setKeepAlive() (#17003)
This commit stabilizes following APIs:
- `Deno.TcpConn.setNoDelay()`
- `Deno.TcpConn.setKeepAlive()`
Diffstat (limited to 'ext/net/ops.rs')
-rw-r--r-- | ext/net/ops.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/net/ops.rs b/ext/net/ops.rs index e567c3188..48db79745 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -514,7 +514,6 @@ pub fn op_set_nodelay( rid: ResourceId, nodelay: bool, ) -> Result<(), AnyError> { - super::check_unstable(state, "Deno.Conn#setNoDelay"); let resource: Rc<TcpStreamResource> = state.resource_table.get::<TcpStreamResource>(rid)?; resource.set_nodelay(nodelay) @@ -526,7 +525,6 @@ pub fn op_set_keepalive( rid: ResourceId, keepalive: bool, ) -> Result<(), AnyError> { - super::check_unstable(state, "Deno.Conn#setKeepAlive"); let resource: Rc<TcpStreamResource> = state.resource_table.get::<TcpStreamResource>(rid)?; resource.set_keepalive(keepalive) |