-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_transfer: Handle continue chunks with earlier window end offsets
http://pwrev.dev/249532 allows transfer receivers to shrink their window size when sending a CONTINUE chunk in response to retried data. This can cause transmitters to receive a window end offset that is earlier than their current offset. This updates transfer clients to handle this case by simply ignoring the CONTINUE chunk. This will result in the receiver timing out and retrying the chunk as a RETRANSMIT instead. The Java client already handled this case, so it is untouched. Fixes: 383043232 Change-Id: I0811036ffff7e92c23f3e9390dfb2764fd063e66 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/256874 Reviewed-by: Jordan Brauer <[email protected]> Presubmit-Verified: CQ Bot Account <[email protected]> Lint: Lint 🤖 <[email protected]> Docs-Not-Needed: Jordan Brauer <[email protected]> Docs-Not-Needed: Alexei Frolov <[email protected]> Commit-Queue: Alexei Frolov <[email protected]>
- Loading branch information
Showing
6 changed files
with
288 additions
and
4 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
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
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
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
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
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