summaryrefslogtreecommitdiff
path: root/runtime/ops/tls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/tls.rs')
-rw-r--r--runtime/ops/tls.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/runtime/ops/tls.rs b/runtime/ops/tls.rs
index 00f000a97..e0cb992f0 100644
--- a/runtime/ops/tls.rs
+++ b/runtime/ops/tls.rs
@@ -348,18 +348,11 @@ fn op_listen_tls(
}))
}
-#[derive(Deserialize)]
-pub struct AcceptTlsArgs {
- rid: ResourceId,
-}
-
async fn op_accept_tls(
state: Rc<RefCell<OpState>>,
- args: AcceptTlsArgs,
+ rid: ResourceId,
_zero_copy: Option<ZeroCopyBuf>,
) -> Result<Value, AnyError> {
- let rid = args.rid;
-
let resource = state
.borrow()
.resource_table