commit | 952fc9c67e96e9f1be740da52245cba3cb2ed0bb | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Thu Jun 15 09:45:21 2023 -0700 |
committer | Damien Neil <dneil@google.com> | Tue Jun 27 15:03:13 2023 +0000 |
tree | f07b2de2481b2a5398a1b260aa72e918aa03d561 | |
parent | 02fe9a59739ec5f229e86989c78fc81315d45579 [diff] |
quic: move ack_delay_exponent handling out of frame parsing The ACK Delay field of ACK frames contains a duration. The field contains an integer which is multiplied by two to the power of the sender's ack_delay_exponent transport parameter to arrive at the delay in microseconds. Change the frame parsing and encoding layer to operate on the unscaled field value, rather than passing the ack_delay_exponent and a duration. This better expresses the fact that we may parse an ACK frame without knowing the ack_delay_exponent, if the ACK is received before transport parameters. For golang/go#58547 Change-Id: Ic26256761961ce89aea0618b849e5661b0502b12 Reviewed-on: https://go-review.googlesource.com/c/net/+/504855 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Damien Neil <dneil@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
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.