-
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: Send continue parameters for already recevied chunks
This changes the behavior of pw_transfer when a receiver receives a chunk of data it already has. Instead of entering the recovery state, slashing its window size, and requesting an immediate retransmission, it instead simply sends a PARAMETERS_CONTINUE chunk with its current offset and window end offset. This is done to minimize back-and-forth between the transfer peers by not automatically invalidating any in-flight packets, in case the expected packet is already on the way. Change-Id: Iae97db413da14061eaf85594446cf83a93cdf803 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/235100 Lint: Lint 🤖 <[email protected]> Reviewed-by: Jordan Brauer <[email protected]> Reviewed-by: Wyatt Hepler <[email protected]> Commit-Queue: Alexei Frolov <[email protected]>
- Loading branch information
Showing
9 changed files
with
361 additions
and
75 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
Oops, something went wrong.