-
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.39.0
head repository: golang/net
compare: v0.40.0
- 7 commits
- 105 files changed
- 3 contributors
Commits on Apr 9, 2025
-
quic: remove go1.21 build constraint
The x/net go.mod now depends on go1.23. Change-Id: I24960949d84753f84f75fbdc97b7dfb92191a4d2 Reviewed-on: https://go-review.googlesource.com/c/net/+/664295 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Auto-Submit: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd0b200 - Browse repository at this point
Copy the full SHA dd0b200View commit details -
quic: decode packet numbers >255 in tests
Decoding QUIC packet numbers requires keeping track of the largest packet number received so far from the peer. Our tests haven't bothered doing that so far, so tests can't work with packet numbers past 255. Fix that so we can write tests that use more packets. Change-Id: Icb795e5cf69794381c12a3a03b0da6bcf47a69c0 Reviewed-on: https://go-review.googlesource.com/c/net/+/664296 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Auto-Submit: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22500a6 - Browse repository at this point
Copy the full SHA 22500a6View commit details -
quic: don't re-lose packets when discarding keys
When discarding keys for a packet number space, we remove any in-flight packets in that space from our count of bytes in flight. Skip any packets in the space that were already acked or declared lost. Also skip over acked/lost packets when discarding state in response to a Reset message. This change shouldn't have any effect, since we never declare packets acked/lost until we receive an ACK, and we never handle a Reset after receiving an ACK. Change-Id: I8842f03aa06e57a834a211f1284a48fe5d469db3 Reviewed-on: https://go-review.googlesource.com/c/net/+/664335 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Auto-Submit: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a3b6e77 - Browse repository at this point
Copy the full SHA a3b6e77View commit details -
quic: use an enum for sentPacket state
The sentPacket type tracks the state of a packet sent to the peer. Packets can be in progress, acknowledged, or lost. Track this state with an enum rather than a set of bools, to avoid the possibility of nonsensical states such as a packet being both acknowledged and lost. This also simplifies a following change to add an "unsent" state for intentionally skipped packet numbers. Change-Id: I87c8fc399c72337c033ab7ec5ec8db2c56c732f9 Reviewed-on: https://go-review.googlesource.com/c/net/+/664297 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Auto-Submit: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f563d3 - Browse repository at this point
Copy the full SHA 3f563d3View commit details
Commits on Apr 10, 2025
-
quic: skip packet numbers for optimistic ack defense
An "optimistic ACK attack" involves an attacker sending ACKs for packets it hasn't received, causing the victim's congestion controller to improperly send at a higher rate. The standard defense against this attack is to skip the occasional packet number, and to close the connection with an error if the peer ACKs an unsent packet. Implement this defense, increasing the gap between skipped packet numbers as a connection's lifetime grows and correspondingly the amount of work required on the part of the attacker. Change-Id: I01f44f13367821b86af6535ffb69d380e2b4d7b7 Reviewed-on: https://go-review.googlesource.com/c/net/+/664298 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Auto-Submit: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e7a445 - Browse repository at this point
Copy the full SHA 3e7a445View commit details
Commits on Apr 16, 2025
-
internal/timeseries: use built-in max/min to simplify the code
Change-Id: I3d408025af072559cac1f2b403a90518995d0a5a Reviewed-on: https://go-review.googlesource.com/c/net/+/664855 Reviewed-by: Damien Neil <[email protected]> Auto-Submit: Damien Neil <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea0c1d9 - Browse repository at this point
Copy the full SHA ea0c1d9View commit details
Commits on May 5, 2025
-
go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions. Change-Id: Id9bf9fda6785763f418cbe165472193bb23c7401 Reviewed-on: https://go-review.googlesource.com/c/net/+/670096 Reviewed-by: David Chase <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Gopher Robot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d6e62a - Browse repository at this point
Copy the full SHA 7d6e62aView 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.39.0...v0.40.0