summaryrefslogtreecommitdiff
path: root/runtime/ops/io.rs
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2021-10-20 01:30:04 +0200
committerGitHub <noreply@github.com>2021-10-20 01:30:04 +0200
commit6a9656098671d19b2cbfedfef4db0df6f84735d1 (patch)
treea29a1fbb03e6ced6eda1e53999cf2c18f61c1451 /runtime/ops/io.rs
parent4f48efcc55b9e6cc0dd212ebd8e729909efed1ab (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/io.rs')
-rw-r--r--runtime/ops/io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/io.rs b/runtime/ops/io.rs
index 0687fc397..7eb27bd12 100644
--- a/runtime/ops/io.rs
+++ b/runtime/ops/io.rs
@@ -16,8 +16,8 @@ use deno_core::Resource;
use deno_core::ResourceId;
use deno_core::ZeroCopyBuf;
use deno_net::io::TcpStreamResource;
-use deno_net::io::TlsStreamResource;
use deno_net::io::UnixStreamResource;
+use deno_net::ops_tls::TlsStreamResource;
use std::borrow::Cow;
use std::cell::RefCell;
use std::io::Read;