-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
probe-cli: Update to quic-go v0.37.3 (#1161)
## Checklist - [x] I have read the [contribution guidelines](https://github.com/ooni/probe-cli/blob/master/CONTRIBUTING.md) - [x] reference issue for this pull request: ooni/probe#2492 ## Description This diff updates our QUIC code, mainly in netxlite, to quic-go v0.37.1, including the new API introduced in v0.35.0. The migration has been done according to ooni/probe#2492. Major changes: * Replaced call to `quic.DialEarlyContext` with call to `quic.DialEarly` (netxlite/quic.go). * Removed now unnecessary address string in `DialEarly` calls (netxlite/quic.go). * Replaced `quic.Listener` with `*quic.Listener` (simplequicping_test.go). * Adapted signature of `HandshakeComplete` such that it returns a channel rather than a context (quic code in netxlite, measurex, mocks). * Renamed `QUICListener` to `UDPListener`. * `quic.ConnectionState.TLS` points directly to a `tls.ConnectionState` instead of pointing to a `qtls.ConnectionState` instance. Background: Starting with Go 1.21, quic-go will use the QUIC support provided by the standard library's TLS implementation. Thus, quic-go will no longer fork crypto/tls anymore. * changed signature of `quic.Connection`'s `ReceiveMessage` method --------- Co-authored-by: Simone Basso <[email protected]>
- Loading branch information
1 parent
229ac53
commit 8d0db63
Showing
26 changed files
with
195 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.