vscode/cli
Connor Peet 06ff8779bd
cli: tunnels can sporadically become unresponsive (#181285)
Last iteration I moved some RPC logic to use Tokios "codecs" to give
them cancellation safety. These operate on streams of input data.

While this worked at first, I failed to take into account that the byte
buffer we read from the stream could have _more_ data than just the
current message under load scenarios. We were discarding any extra data
from the subsequent message. In most cases caused the next message
"length" to be read from the middle of the next message, which usually
(when parsed as a u32) was some number of gigabytes, then causing the
connection to stall forever.

Fixes #181284
2023-05-01 17:34:11 -07:00
..
src cli: tunnels can sporadically become unresponsive (#181285) 2023-05-01 17:34:11 -07:00
build.rs cli: automatically use distro qualities if available (#166961) 2022-11-22 06:13:16 -08:00
Cargo.lock cli: update hyper for cg (#180135) 2023-04-17 10:19:53 -07:00
Cargo.toml cli: add acquire_cli (#179837) 2023-04-13 19:18:48 +01:00
CONTRIBUTING.md cli: point docs to the new RA extension ns (#162500) 2022-10-04 08:17:10 -07:00
rustfmt.toml cli: use hard tabs to align with vscode style 2022-09-23 14:17:01 -07:00