commit | f7250ea19d213699fb52bf6b0c0d2cb9cda49d7c | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Fri Dec 23 08:37:30 2022 -0800 |
committer | Gopher Robot <gobot@golang.org> | Thu May 25 18:03:53 2023 +0000 |
tree | e4abeadebbeb651269ad53ae41b754ba9d990a2e | |
parent | 1b5a2d8538e23b99860872499f7a5c65b8b8c4b7 [diff] |
quic: add a type tracking sent values Any given datum communicated to the peer follows a state machine: - We do not need to send the this datum. - We need to send it, but have not done so. - We have sent it, but the peer has not acknowledged it. - We have sent it and the peer has acknowledged it. Data transitions between states in a consistent fashion; for example, loss of the most recent packet containing a HANDSHAKE_DONE frame means we should resend the frame in a new packet. Add a sentVal type which tracks this state machine. For golang/go#58547 Change-Id: I9de0ef5e482534b8733ef66363bac8f6c0fd3173 Reviewed-on: https://go-review.googlesource.com/c/net/+/498295 Run-TryBot: Damien Neil <dneil@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> Auto-Submit: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.