mirror of
https://github.com/warp-tech/warpgate.git
synced 2025-09-07 07:04:22 +08:00
Fix tcp nodelay for ssh server (#1449)
This commit is contained in:
parent
8430b2bc14
commit
4b0e5dfa72
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ pub async fn run_server(services: Services, address: ListenEndpoint) -> Result<(
|
|||
let remote_address = stream.peer_addr().context("getting peer address")?;
|
||||
let russh_config = russh_config.clone();
|
||||
|
||||
stream.set_nodelay(true)?;
|
||||
|
||||
let (session_handle, session_handle_rx) = SSHSessionHandle::new();
|
||||
|
||||
let server_handle = State::register_session(
|
||||
|
|
Loading…
Add table
Reference in a new issue