8000 Chore: bump github.com/quic-go/quic-go from 0.51.0 to 0.52.0 by dependabot[bot] · Pull Request #3413 · v2fly/v2ray-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Chore: bump github.com/quic-go/quic-go from 0.51.0 to 0.52.0 #3413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor
@dependabot dependabot bot commented on behalf of github May 20, 2025

Bumps github.com/quic-go/quic-go from 0.51.0 to 0.52.0.

Release notes

Sourced from github.com/quic-go/quic-go's releases.

v0.52.0

This release focus on HTTP/3 graceful shutdown using the GOAWAY mechnism.

On the server side graceful shutdown is initiated by calling the http3.Server.Shutdown method:

  • A single GOAWAY frame is sent, instructing the client to not issue any new requests (#5114).
  • New requests are rejected by resetting the streams using the H3_REQUEST_REJECTED reset error code: #5116.
  • QUIC listeners created by the HTTP/3 server (i.e. when using http3.Server.ListenAndServe and ListenAndServeTLS) are immediately closed (#5101). QUIC listeners created by the application (i.e. when using http3.Server.ServeListener) are left running, it is the application's responsibility to close them, or use them in a new server instance (#5129).
  • Note that the during the graceful shutdown period, the server does not close existing connections, as this is racy in the presence of packet reordering.

On the client side, when receiving a GOAWAY frame:

  • No new streams will be opened on the new connection. Requests to the same origin will be sent on a freshly established QUIC connection.
  • Once all requests have completed / were cancelled, the underlying QUIC connection is closed: #5143 and #5145.

Breaking Changes

  • Transport.ConnContext now passes the ClientInfo to the callback, and allows rejecting handshakes by introducing an error return value: #5122. This allows applications to build more sophisticated DoS defenses. Thanks to @​sukunrt!
  • Connections accepted from a Listener using the Listen and ListenAddr convenience functions now aren't closed when the listener is closed. This makes the shutdown behavior consistent with listeners created from a Transport, and the standard library's net.Listener: #5108.

Other Notable Changes

  • The TLS ClientHello is now fragmented into multiple pieces, complicating Deep Packet Inspection of the handshake by middlebox: #5107. This behavior can be disabled by setting the QUIC_GO_DISABLE_CLIENTHELLO_SCRAMBLING environment variable.
  • Kernel control messages for ECN and for picking the correct network interface now work on big-endian platforms such as s390x: #5094 and #5105. Thanks to @​Zxilly!
  • The RTT estimate is now stored in the resumption token (and not in the TLS session ticket): #5065. Thanks to @​tanghaowillow!

Fixes

  • http3: The Alt-Svc entry is now removed when http3.Server.Serve returns: #5093.
  • http3: http3.Server.ServeQUICConn now returns http.ErrServerClosed when called on a closed server: #5095.
  • http3: The datagram receive loop now doesn't prematurely return when receiving a datagram for an unknown stream: #5136.
  • http3: Requests are now only retried when it can be guaranteed that the server didn't process the request: #5141.
  • http3: Prevent a stream leak when the server sends too many 1xx responses: #5144.

Behind The Scenes

As in the last couple of releases, we continued our ongoing effort to migrate away from the Ginkgo test suite (tracking issue #3652), mostly in the HTTP/3 package: #5068, #5069, #5070, #5073, #5075, #5078, #5067, #5081, #5085, #5096, #5133. There are still ~1400 LOC of Ginkgo tests to clean up, scattered across the code base.

Changelog

... (truncated)

Commits
  • 04eab22 http3: fix off-by-one error when processing the GOAWAY stream ID (#5145)
  • 363e0cc http3: implement client-side GOAWAY handling (#5143)
  • 06e8ee1 http3: reset stream if the server sends too many 1xx responses (#5144)
  • 8ef0a71 store the RTT in the token, not in the session ticket (#5065)
  • eb8547c pass ClientInfo to Transport.ConnContext, allow rejection of handshake (#5122)
  • 77c401d http3: only retry requests for which it is safe to do so (#5141)
  • d7ca54c fix flaky TestHandshakeCloseListener (#5140)
  • fe02bc2 http3: fix flaky TestClientRequestLengthLimit (#5137)
  • 50dd857 http3: migrate the connection tests away from Ginkgo (#5133)
  • 6f8460a http3: keep datagram receive loop running on datagram for unknown stream (#5136)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.51.0 to 0.52.0.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Commits](quic-go/quic-go@v0.51.0...v0.52.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 20, 2025
@xiaokangwang xiaokangwang merged commit b39d891 into master May 26, 2025
39 of 40 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/quic-go/quic-go-0.52.0 branch May 26, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0