summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2021-05-10 23:49:57 +0000
committerBert Belder <bertbelder@gmail.com>2021-05-11 03:11:26 +0200
commit640d431b35860913ed376cf781da1b8b1a73d0a4 (patch)
tree96ad522d8a212505c4e8a66ee406d3370adf5e87 /Cargo.lock
parent36c5461129a1b769eb205765a79c5dc000b0b2f6 (diff)
fix(tls): flush send buffer in the background after closing TLS stream (#10146)
In #9118, TLS streams were split into a "read half" and a "write half" using tokio::io::split() to allow concurrent Conn#read() and Conn#write() calls without one blocking the other. However, this introduced a bug: outgoing data gets discarded when the TLS stream is gracefully closed, because the read half is closed too early, before all TLS control data has been received. Fixes: #9692 Fixes: #10049 Fixes: #10296 Fixes: denoland/deno_std#750
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 4f34174c8..fa7d00884 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -713,12 +713,12 @@ dependencies = [
"percent-encoding",
"regex",
"ring",
+ "rustls",
"serde",
"sys-info",
"termcolor",
"test_util",
"tokio",
- "tokio-rustls",
"tokio-util",
"trust-dns-proto",
"trust-dns-resolver",