commit | fe2abcb6e15f7a34d285220b437d421da4c76775 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Aug 29 08:21:51 2023 -0700 |
committer | Damien Neil <dneil@google.com> | Tue Aug 29 19:54:08 2023 +0000 |
tree | 436d05adfe072ecfb041adac8da27b0e660b7325 | |
parent | d1b0a97d84e0fa88851b5a065e23262afed10400 [diff] |
quic: validate stream limits in transport params The maximum number of streams of a given type (bidi/uni) is capped to 2^60, since a larger number would overflow a varint. Validate limits received in transport parameters. RFC 9000, Section 4.6 For golang/go#58547 Change-Id: I7a4a15c569da91ad1b89a5dc71e1c5b213dbda9a Reviewed-on: https://go-review.googlesource.com/c/net/+/524037 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.