mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
5a14d85f48
This reuses a lot of the logic we use for the normal VS Code Server tunnel to do port forwarding. It does use a _different_ tunnel than what Remote Tunnels would otherwise use for the control server. The reason for this is that ports exist on a tunnel instance, and if we reused the same tunnel then a client would expect all CLI hosts to serve all tunnels, where the port forwarding instance would not provide the VS Code server. It also reuses the singleton logic so all ports on a machine are handled by a single CLI instance for the same reason: we can't have different instances hosting subsets of ports on a single tunnel. Currently all ports are under the default privacy: support for public/private tunnels is either later today or next iteration. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
CONTRIBUTING.md | ||
rustfmt.toml |