We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c73f9d commit 787ea0cCopy full SHA for 787ea0c
demo/common/src/server.rs
@@ -68,7 +68,7 @@ async fn session(
68
// Create the SSH instance. These buffers are for decoding/encoding
69
// SSH packets.
70
let mut ssh_rxbuf = [0; 2000];
71
- let mut ssh_txbuf = [0; 1000];
+ let mut ssh_txbuf = [0; 2000];
72
let serv = SSHServer::new(&mut ssh_rxbuf, &mut ssh_txbuf);
73
74
// Create the handler. DemoCommon is common handling (this file),
demo/std/src/main.rs
@@ -117,6 +117,12 @@ impl DemoServer for StdDemo {
117
Ok::<_, Error>(())
118
};
119
120
+ let prog_loop = async {
121
+ if let Err(e) = prog_loop.await {
122
+ warn!("Exited: {e:?}");
123
+ }
124
+ };
125
+
126
let shell_loop = async {
127
let ch = chan_pipe.receive().await;
128
0 commit comments