-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update t0 v0.33.1 #2
Draft
gts2030
wants to merge
232
commits into
main
Choose a base branch
from
update-t0-v0.33.1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
+19,440
−7,218
Conversation
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
…(#2268) This solves a deadlock when AddCertHashes is called before Listen. It also means that we're initializing a certmanaer even if we're only using the WebTransport transport for dialing and not for listening, but that's a fringe use case anyway.
…ansport (#2268)" (#2273) This reverts commit feda23995d660685f33f7ad5d2a6d5f4e1c81f6f.
originally created by @MarcoPolo here libp2p/go-libp2p#2097
* quic: prioritise listen connections for reuse * add test for checking reuse in listen after dial * rename globalDial to fallback * improve naming. fix gc test * reuse dial connections on listen requests for port 0 * Update p2p/transport/quicreuse/reuse.go Co-authored-by: Marten Seemann <[email protected]> * fix comment * cleanup reuse logic * fix scoping --------- Co-authored-by: Marten Seemann <[email protected]>
* Revert "websocket: don't set a WSS multiaddr for accepted unencrypted conns (#2199)" This reverts commit eeb685f. * Revert "websocket: Don't limit message sizes in the websocket reader (#2193)" This reverts commit 2fe6600ca492c44f53632bae916e2bc135fa1f42. * Revert "websocket: Replace gorilla websocket transport with nhooyr websocket transport (#1982)" * websocket: don't set a WSS multiaddr for accepted unencrypted conns
* Log unexpected listener errors * Use errors.Is
* tests: add integration tests for gating of outgoing connections * tests: integrate connection gating tests into the transport tests * disable gating tests with race detector
* examples: fix flaky multipro TestMain * better to synchronise
…2287) * net/mock: mimic Swarm's event and notificaion behavior in MockNet * go fmt
* metrics: update dashboards to support multiple instances * update file permissions
* Remove duplicate `SetProtocol` call * Don't log if transport ErrListenerClosed * Close the conn scope in webtransport dial * Mock resource scope span * Add transport rcmgr integration test * PR nits * Fix flakiness * Threadsafe way of waiting for all streams * Expand comment
Co-authored-by: Marten Seemann <[email protected]>
This should be covered by the general project license.
* refactor: call NewStream from only one side * Update examples/chat-with-mdns/main.go Co-authored-by: Sukun <[email protected]> * Update examples/chat-with-mdns/main.go Co-authored-by: Sukun <[email protected]> --------- Co-authored-by: Sukun <[email protected]>
* chore: update readme for example chat-with-mdns * update old example code
* p2p/security: add transport independent benchmarks * defaults: do TLS by default for encryption Tls has much better throughput, the handshake benchmark is fairly noisy, there is no significant performance difference, however it does allocate more. ``` goos: linux goarch: amd64 cpu: AMD Ryzen 5 3600 6-Core Processor BenchmarkNoise/throughput/32KiB-12 24984 46605 ns/op 703.10 MB/s 37 B/op 2 allocs/op BenchmarkNoise/throughput/1MiB-12 1134 1459483 ns/op 718.46 MB/s 663 B/op 34 allocs/op BenchmarkNoise/handshakes-12 1302 1054533 ns/op 32691 B/op 348 allocs/op BenchmarkTls/throughput/32KiB-12 49006 24309 ns/op 1347.99 MB/s 50 B/op 2 allocs/op BenchmarkTls/throughput/1MiB-12 1747 778498 ns/op 1346.92 MB/s 1603 B/op 64 allocs/op BenchmarkTls/handshakes-12 1116 1045475 ns/op 105257 B/op 1478 allocs/op ```
* readme * scope * natmgr * svc --------- Co-authored-by: Sukun <[email protected]>
* chore: update go-multiaddr 0.12.2 * chore: fix too many require blocks in go.mod
* chore: testify lint fixes * chore: revert t.error replacements * chore: revert errNotWebSocketAddress --------- Co-authored-by: Sukun <[email protected]>
* quic: upgrade to quic-go v0.41.0 * retain listener.Close behaviour of closing inqueue connections
* Bump quic-go dep * Code changes for quic-go dep update * Release v0.33.1 * Tidy go.mod in test-plans
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.