Skip to content

Commit 787ea0c

Browse files
committed
demo: Increase tx buffer for mlkem
1 parent 7c73f9d commit 787ea0c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

demo/common/src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async fn session(
6868
// Create the SSH instance. These buffers are for decoding/encoding
6969
// SSH packets.
7070
let mut ssh_rxbuf = [0; 2000];
71-
let mut ssh_txbuf = [0; 1000];
71+
let mut ssh_txbuf = [0; 2000];
7272
let serv = SSHServer::new(&mut ssh_rxbuf, &mut ssh_txbuf);
7373

7474
// Create the handler. DemoCommon is common handling (this file),

demo/std/src/main.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ impl DemoServer for StdDemo {
117117
Ok::<_, Error>(())
118118
};
119119

120+
let prog_loop = async {
121+
if let Err(e) = prog_loop.await {
122+
warn!("Exited: {e:?}");
123+
}
124+
};
125+
120126
let shell_loop = async {
121127
let ch = chan_pipe.receive().await;
122128

0 commit comments

Comments
 (0)