dnscrypt-proxy
dnscrypt-proxy copied to clipboard
Bump github.com/quic-go/quic-go from 0.47.0 to 0.48.0
Bumps github.com/quic-go/quic-go from 0.47.0 to 0.48.0.
Release notes
Sourced from github.com/quic-go/quic-go's releases.
v0.48.0
New Features
The
http3.Servernow supports graceful shutdown: callingShutdownstops the server from accepting new connections, and new HTTP requests on existing connections. It continues serving existing connections until all active requests have completed (or the context is canceled).On the wire, graceful shutdown is signaled by sending a GOAWAY frame. This tells the client that the server will not accept any new requests. Clients are expected to finish existing requests and then close the QUIC connection.
Client-side support for graceful shutdown is not implemented yet (see #153).
Breaking Changes
- The HTTP/3 client API was made more consistent with the Go standard library's HTTP/1 and HTTP/2 naming: #4693
- The deprecated
qlog.DefaultTracerfunction was removed: #4697- The deprecated
http3.Server.SetQuicHeadermethod andhttp3.ListenAndServewere removed: #4698http3.Server.Closenow closes immediately all QUIC connections: #4689Note that all connection passed to
http3.Server.ServeQUICConnneed to be closed by the caller, before callinghttp3.Server.Close.Notable Fixes
- Canceling a stream after connection termination now doesn't change the error returned from
Stream.WriteandStream.Read(thanks to@sukunrtfor the fix): #4673- HTTP/3 Capsule Parsing logic didn't work for capsules that weren't read with a single
Readcall: #4683Behind The Scenes
We've started migrating our test suite away from Ginkgo (tracking issue: #3652), and towards a more idiomatic approach to testing Go code (using require). This is a massive endevour, as our test suite is around 47k LOC.
In this release, a large number of Go packages were translated: #4640, #4641, #4642, #4643, #4649, #4650, #4652, #4662, #4670, #4671, #4675, #4667, #4676, #4680, #4681.
In the upcoming release(s), we will continue this work.
Changelog
- qlog: migrate tests away from Ginkgo by
@marten-seemannin quic-go/quic-go#4640- logging: migrate tests away from Ginkgo by
@marten-seemannin quic-go/quic-go#4641- qerr: move away from Ginkgo by
@marten-seemannin quic-go/quic-go#4649- qtls: migrate tests away from Ginkgo by
@marten-seemannin quic-go/quic-go#4642- interop: move away from Ginkgo by
@marten-seemannin quic-go/quic-go#4652- protocol: move away from Ginkgo by
@marten-seemannin quic-go/quic-go#4650- quicvarint: migrate tests away from Ginkgo by
@marten-seemannin quic-go/quic-go#4662- ringbuffer: migrate test away from Ginkgo by
@marten-seemannin quic-go/quic-go#4671- testdata: migrate tests away from Ginkgo by
@marten-seemannin quic-go/quic-go#4670- utils: remove unused methods and constructor from RTTStats by
@marten-seemannin quic-go/quic-go#4672- wire: migrate tests away from Ginkgo by
@marten-seemannin quic-go/quic-go#4643- stream: don't cancel stream after shutdown by
@sukunrtin quic-go/quic-go#4673- utils: migrate tests away from Ginkgo by
@marten-seemannin quic-go/quic-go#4675- versionnegotiation: migrate tests away from Ginkgo by
@marten-seemannin quic-go/quic-go#4676- proxy: migrate tests away from Ginkgo by
@marten-seemannin quic-go/quic-go#4680- fuzzing: migrate tests for helper function away from Ginkgo by
@marten-seemannin quic-go/quic-go#4681
... (truncated)
Commits
6af2b1ahttp3: rename Server.CloseGracefully to Shutdown (#4701)4a9a81chttp3: output panic stack trace as a string (#4700)588b93chttp3: add (deprecated) type aliases for RoundTripper and SingleDestinationRo...2dc1e35http3: remove deprecated ListenAndServe and Server.SetQuicHeader (#4698)d5d7592qlog: remove deprecated DefaultTracer function (#4697)29f903fhttp3: improve documentation for Transport and ClientConn (#4696)0a6e362http3: don't expose ClientConn.HandleUnidirectionalStreams (#4695)b4ae847http3: export the Capsule-Protocol header value (#4690)1db805chttp3: improve the client API (#4693)eaa879fhttp3: send GOAWAY when server is shutting down (#4691)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)