Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Peet <connor@peet.io>2022-11-11 22:48:16 +0300
committerConnor Peet <connor@peet.io>2022-11-11 22:51:09 +0300
commitebfa4b0c3cf1d3cb87ba6e9a8d625eedf7b2ab47 (patch)
tree1603b655afc4be41743f6452350dd03a8f72dde4 /cli/src/tunnels.rs
parentb982536f83376e6266b3e0aaca6211699167b6cf (diff)
cli: enable server message compression
This is the CLI side of enabling compression of servermsg's sent over the socket. It is feature-detected by the CLI sending protocolVersion=2. If present, the consumer can request compression by passing `compress:true` when setting up the server. In this mode, servermsg's are an inflate/deflate stream. Not a ton of code here, but was lots of fun tweaking to get it right :) Fixes https://github.com/microsoft/vscode/issues/163688
Diffstat (limited to 'cli/src/tunnels.rs')
-rw-r--r--cli/src/tunnels.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/src/tunnels.rs b/cli/src/tunnels.rs
index d94e47addf3..638432b040d 100644
--- a/cli/src/tunnels.rs
+++ b/cli/src/tunnels.rs
@@ -8,6 +8,7 @@ pub mod dev_tunnels;
pub mod legal;
pub mod paths;
+mod socket_signal;
mod control_server;
mod name_generator;
mod port_forwarder;