diff options
author | Bert Belder <bertbelder@gmail.com> | 2021-10-20 01:30:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 01:30:04 +0200 |
commit | 6a9656098671d19b2cbfedfef4db0df6f84735d1 (patch) | |
tree | a29a1fbb03e6ced6eda1e53999cf2c18f61c1451 /runtime/ops/http.rs | |
parent | 4f48efcc55b9e6cc0dd212ebd8e729909efed1ab (diff) |
fix(ext/net): fix TLS bugs and add 'op_tls_handshake' (#12501)
A bug was fixed that could cause a hang when a method was
called on a TlsConn object that had thrown an exception earlier.
Additionally, a bug was fixed that caused TlsConn.write() to not
completely flush large buffers (>64kB) to the socket.
The public `TlsConn.handshake()` API is scheduled for inclusion in the
next minor release. See https://github.com/denoland/deno/pull/12467.
Diffstat (limited to 'runtime/ops/http.rs')
-rw-r--r-- | runtime/ops/http.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/http.rs b/runtime/ops/http.rs index 58783bbbc..683dc1a57 100644 --- a/runtime/ops/http.rs +++ b/runtime/ops/http.rs @@ -7,7 +7,7 @@ use deno_core::Extension; use deno_core::OpState; use deno_core::ResourceId; use deno_net::io::TcpStreamResource; -use deno_net::io::TlsStreamResource; +use deno_net::ops_tls::TlsStreamResource; pub fn init() -> Extension { Extension::builder() |