Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SSH2: uploads on low speed networks could get in infinite loop
- Loading branch information
1 parent
a019cf3
commit 239bc63
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
239bc63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #1507
239bc63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@terrafrost it does appear to fix it. Out of interest could you explain the root cause?
239bc63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was happening before is that there'd be a timeout and then, when waiting for window size adjustment packets,
_get_binay_packet
just returned a bool because of the timeout and so the window size was never being adjusted so it got caught up in an infinite loop, requesting a packet only to get a bool that doesn't adjust the window size.Or something like that - it's been a few days since I've worked on it lol