| commit | a600b3518eed7a9a4e24380b4b249cb986d9b64d | [log] [tgz] |
|---|---|---|
| author | Damien Neil <dneil@google.com> | Wed Sep 20 16:16:40 2023 -0700 |
| committer | Damien Neil <dneil@google.com> | Mon Oct 02 20:20:25 2023 +0000 |
| tree | 494cd038f434bd1c07821a8a0a369116fd5b7957 | |
| parent | ea633599b58dc6a50d33c7f5438edfaa8bc313df [diff] |
quic: avoid redundant MAX_DATA updates When Stream.Read determines that we should send a MAX_DATA update, it sends a message to the Conn to mark us as needing one. If a second Read happens before the message from the first read is processed, we may send a redundant MAX_DATA update. This is harmless, but inefficient. Double check that we still need to send an update before marking one as necessary. Change-Id: I0eb5a591eae6929b91da68b1ab6834a7795323ee Reviewed-on: https://go-review.googlesource.com/c/net/+/530035 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.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.