-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packets sent by an endpoint are ultimately acknowledged by the peer or declared lost. When a packet is acked or lost, we will look through the data it contained and either mark it as received by the peer or resend it. Add an enum for the fate of a sent packet: acked or lost. Update the sentVal ackOrLoss function to take a packetFate rather than a bool. For golang/go#58547 Change-Id: I2e526308db2c03b9c44b59ede1ce84684392c576 Reviewed-on: https://go-review.googlesource.com/c/net/+/504615 Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
- Loading branch information
Showing
3 changed files
with
28 additions
and
19 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