diff options
author | Bert Belder <bertbelder@gmail.com> | 2021-05-10 23:49:57 +0000 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2021-05-11 03:11:26 +0200 |
commit | 640d431b35860913ed376cf781da1b8b1a73d0a4 (patch) | |
tree | 96ad522d8a212505c4e8a66ee406d3370adf5e87 /cli/lsp/language_server.rs | |
parent | 36c5461129a1b769eb205765a79c5dc000b0b2f6 (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 'cli/lsp/language_server.rs')
0 files changed, 0 insertions, 0 deletions