1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/ext/net
Yusuke Tanaka 44a89dd6dc
fix(ext/net): return an error from startTls and serveHttp if the original connection is captured elsewhere (#16242)
This commit removes the calls to `expect()` on `std::rc::Rc`, which caused
Deno to panic under certain situations. We now return an error if `Rc`
is referenced by other variables.

Fixes #9360
Fixes #13345
Fixes #13926
Fixes #16241

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-10-18 11:28:27 +09:00
..
01_net.js feat(core): add Deno.core.writeAll(rid, chunk) (#16228) 2022-10-10 10:28:35 +02:00
02_tls.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
04_net_unstable.js feat(unstable): add ref/unref to Listener (#13961) 2022-03-23 12:04:20 +09:00
Cargo.toml chore: forward v1.26.2 to main (#16331) 2022-10-17 23:11:16 +02:00
io.rs chore: fix windows-only clippy errors (#16289) 2022-10-15 13:56:54 +00:00
lib.deno_net.d.ts fix(ext/net): return an error from startTls and serveHttp if the original connection is captured elsewhere (#16242) 2022-10-18 11:28:27 +09:00
lib.rs feat: Add requesting API name to permission prompt (#15936) 2022-09-27 22:36:33 +02:00
ops.rs feat: Add requesting API name to permission prompt (#15936) 2022-09-27 22:36:33 +02:00
ops_tls.rs fix(ext/net): return an error from startTls and serveHttp if the original connection is captured elsewhere (#16242) 2022-10-18 11:28:27 +09:00
ops_unix.rs fix(net): don't panic on failed UDS removal (#15157) 2022-07-12 11:53:53 -04:00
README.md feat(core): streams (#12596) 2021-11-09 19:26:17 +01:00
resolve_addr.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00

deno_net

This crate implements networking APIs.

This crate depends on following extensions:

  • "deno_web"
  • "deno_fetch"

Following ops are provided:

  • "op_net_accept"
  • "op_net_connect"
  • "op_net_listen"
  • "op_dgram_recv"
  • "op_dgram_send"
  • "op_dns_resolve"
  • "op_tls_start"
  • "op_tls_connect"
  • "op_tls_listen"
  • "op_tls_accept"
  • "op_tls_handshake"