SSH Remoting: Fix reconnects (#19485)

Before this change messages could be lost on reconnect, now they will
not be.

Release Notes:

- SSH Remoting: make reconnects smoother

---------

Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Conrad Irwin 2024-10-19 23:14:19 -06:00 committed by GitHub
parent 1ae30f5813
commit 92c29be74c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 466 additions and 198 deletions

View file

@ -279,7 +279,7 @@ fn start_server(
})
.detach();
ChannelClient::new(incoming_rx, outgoing_tx, cx)
ChannelClient::new(incoming_rx, outgoing_tx, cx, "server")
}
fn init_paths() -> anyhow::Result<()> {