quic: fix data race in streamForFrame In streamForFrame, localStreamLimits.opened is read without synchronization, resulting in a race condition. Therefore, synchronize the access by using the associated gate, like in localStreamLimits.setMax. For golang/go#79104 For golang/go#78737 Change-Id: I623e4a5f621b1eebfdaaee0f01f78b966a6a6964 Reviewed-on: https://go-review.googlesource.com/c/net/+/773940 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Nicholas Husin <husin@google.com> Auto-Submit: Nicholas Husin <nsh@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
This repository holds supplementary Go networking packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/net.
The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.