warpgate
warpgate copied to clipboard
SSH stops when command execution stops
After establishing an SSH connection using PuTTY or Terminus, if I use the cat command on a large file (ex. 20GB) and press Ctrl + C while the output is being displayed, the screen freezes.
On the server side, the logs stop, but the memory usage continues to increase.
Similarly, if you run docker logs CONTAINER and hit CTRL + C, SSH will hang, presumably until Warpgate finishes receiving the stream from the server.
If you then close the connection, WarpGate will panic:
thread 'tokio-runtime-worker' panicked at /reproducible-cwd/src/cryptovec.rs:241:25:
Realloc failed, pointer = <empty> 2172
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace