There was an error while loading. Please reload this page.
1 parent c4fb93f commit e491140Copy full SHA for e491140
2 files changed
russh/src/client/encrypted.rs
@@ -542,7 +542,7 @@ impl Session {
542
new_size = channel.recipient_window_size.saturating_add(amount);
543
channel.recipient_window_size = new_size;
544
} else {
545
- return Err(crate::Error::WrongChannel.into());
+ return Ok(());
546
}
547
548
russh/src/server/encrypted.rs
@@ -662,7 +662,7 @@ impl Session {
662
663
664
665
- return Err(Error::WrongChannel.into());
666
667
668
if let Some(ref mut enc) = self.common.encrypted {
0 commit comments