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.