vscode/cli
Connor Peet db135a575a
cli: fix decompression loop stalling (#191512)
Fixes #191501

It turns out this was a difference in inflate/deflate implementations
between the extension/SDK and the CLI. The SDK uses Node's zlib bindings,
while by default Rust's flate2 library uses a rust port of [miniz][1].
The 'logic' in the CLI was good, but miniz does not appear to flush
decompressed data as nicely on SYNC'd boundaries as zlib does, which
caused data to 'stall'. Telling the flate2 crate to use the native
bindings fixed this.

This could also be the cause of the flakiness occasionally seen on idle
tunnel connections!

[1]: https://github.com/richgel999/miniz
2023-08-28 21:51:04 +02:00
..
src cli: fix decompression loop stalling (#191512) 2023-08-28 21:51:04 +02:00
build.rs cli: cleanup build (#190213) 2023-08-10 20:14:30 -07:00
Cargo.lock cli: fix decompression loop stalling (#191512) 2023-08-28 21:51:04 +02:00
Cargo.toml cli: fix decompression loop stalling (#191512) 2023-08-28 21:51:04 +02: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
ThirdPartyNotices.txt August 2023 endgame OSS Tool changes 2023-08-28 16:26:22 +02:00