There was an error while loading. Please reload this page.
1 parent 9206cba commit 2a81997Copy full SHA for 2a81997
1 file changed
russh/src/cipher/mod.rs
@@ -311,7 +311,7 @@ pub(crate) async fn read<R: AsyncRead + Unpin>(
311
pub(crate) const PACKET_LENGTH_LEN: usize = 4;
312
313
const MINIMUM_PACKET_LEN: usize = 16;
314
-const MAXIMUM_PACKET_LEN: usize = 256 * 1024;
+const MAXIMUM_PACKET_LEN: usize = 256 * 1024 + 36;
315
316
const PADDING_LENGTH_LEN: usize = 1;
317
0 commit comments