-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Comparing changes
Open a pull request
base repository: golang/net
base: v0.2.0
head repository: golang/net
compare: v0.4.0
- 7 commits
- 14 files changed
- 4 contributors
Commits on Nov 15, 2022
-
http2: add SETTINGS_HEADER_TABLE_SIZE support
Add support for handling of SETTINGS_HEADER_TABLESIZE in SETTINGS frames. Add http2.Transport.MaxDecoderHeaderTableSize to set the advertised table size for new client connections. Add http2.Transport.MaxEncoderHeaderTableSize to cap the accepted size for new client connections. Add http2.Server.MaxDecoderHeaderTableSize and MaxEncoderHeaderTableSize to do the same on the server. Fixes golang/go#29356 Fixes golang/go#56054 Change-Id: I16ae0f84b8527dc1e09dfce081e9f408fd514513 Reviewed-on: https://go-review.googlesource.com/c/net/+/435899 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Joedian Reid <joedian@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Damien Neil <dneil@google.com>
Configuration menu - View commit details
-
Copy full SHA for 0e478a2 - Browse repository at this point
Copy the full SHA 0e478a2View commit details -
http2: add Transport.MaxReadFrameSize configuration setting
For golang/go#47840. Fixes golang/go#54850. Change-Id: I44efec8d1f223b3c2be82a2e11752fbbe8bf2cbf Reviewed-on: https://go-review.googlesource.com/c/net/+/362834 Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Roland Shoemaker <roland@golang.org> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Joedian Reid <joedian@golang.org>
Configuration menu - View commit details
-
Copy full SHA for 2f8c3d1 - Browse repository at this point
Copy the full SHA 2f8c3d1View commit details
Commits on Nov 16, 2022
-
publicsuffix: update table to latest list from publicsuffix.org
Update the list to revision e248cbc92a527a166454afe9914c4c1b4253893f (2022-11-15T18:02:38Z) Fixes golang/go#56656 Change-Id: I55cf374150b96c67d65a707fe4ffba3e179002a0 Reviewed-on: https://go-review.googlesource.com/c/net/+/450835 Run-TryBot: Damien Neil <dneil@google.com> Reviewed-by: Nigel Tao <nigeltao@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Nigel Tao (INACTIVE; USE @golang.org INSTEAD) <nigeltao@google.com>
Configuration menu - View commit details
-
Copy full SHA for ecf091a - Browse repository at this point
Copy the full SHA ecf091aView commit details -
publicsuffix: embed table data
Use //go:embed to embed the public suffix tables, rather than generating .go files containing the data. Creating an empty git repo and generating commits for the last 20 updates to the public suffix list, the total size of the repository directory as measured by "du -sh" decreases from 2.2M to 668K when using embedding. For golang/go#15518. Change-Id: Id71759765831a7699e7a182937095b3820bb643b Reviewed-on: https://go-review.googlesource.com/c/net/+/450935 Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org> Reviewed-by: Nigel Tao (INACTIVE; USE @golang.org INSTEAD) <nigeltao@google.com>
Configuration menu - View commit details
-
Copy full SHA for 0833b63 - Browse repository at this point
Copy the full SHA 0833b63View commit details
Commits on Nov 17, 2022
-
http2: deflake TestTransportMaxFrameReadSize
Rewrite this test to examine the SETTINGS frame sent by the Transport directly, rather than poking around in the Server internals to find the sent value. Fixes golang/go#56806 Change-Id: I47859352a14b7120ef88fce5bd000716b9abdad7 Reviewed-on: https://go-review.googlesource.com/c/net/+/451775 Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Damien Neil <dneil@google.com> Auto-Submit: Damien Neil <dneil@google.com>
Configuration menu - View commit details
-
Copy full SHA for ecf7fda - Browse repository at this point
Copy the full SHA ecf7fdaView commit details
Commits on Dec 6, 2022
-
go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: Iba6aa88dee87df78b5a7bad68482d94a76ebf0c8 Reviewed-on: https://go-review.googlesource.com/c/net/+/455395 Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Gopher Robot <gobot@golang.org> Auto-Submit: Gopher Robot <gobot@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
Configuration menu - View commit details
-
Copy full SHA for 3247b5b - Browse repository at this point
Copy the full SHA 3247b5bView commit details -
http2: limit canonical header cache by bytes, not entries
The canonical header cache is a per-connection cache mapping header keys to their canonicalized form. (For example, "foo-bar" => "Foo-Bar"). We limit the number of entries in the cache to prevent an attacker from consuming unbounded amounts of memory by sending many unique keys, but a small number of very large keys can still consume an unreasonable amount of memory. Track the amount of memory consumed by the cache and limit it based on memory rather than number of entries. Thanks to Josselin Costanzi for reporting this issue. For golang/go#56350 Change-Id: I41db4c9823ed5bf371a9881accddff1268489b16 Reviewed-on: https://go-review.googlesource.com/c/net/+/455635 Reviewed-by: Jenny Rakoczy <jenny@golang.org> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Configuration menu - View commit details
-
Copy full SHA for 1e63c2f - Browse repository at this point
Copy the full SHA 1e63c2fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.2.0...v0.4.0