chore: update go-libp2p, kad-dht, and boxo to latest#22
Merged
cortze merged 1 commit intoprobe-lab:mainfrom Mar 18, 2026
Merged
chore: update go-libp2p, kad-dht, and boxo to latest#22cortze merged 1 commit intoprobe-lab:mainfrom
cortze merged 1 commit intoprobe-lab:mainfrom
Conversation
- go-libp2p v0.43.0 -> v0.47.0 - go-libp2p-kad-dht v0.34.0 -> v0.38.0 - boxo v0.34.0 -> v0.37.0 - go-cid v0.5.0 -> v0.6.0 (transitive) - quic-go, otel, and other transitive deps bumped accordingly
This file contains hidden or 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
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.
The sniffer is a long-lived libp2p node in DHT server mode that maintains thousands of concurrent bitswap sessions and responds with DONT_HAVE to every WANT.
Goroutine leak:
stream.Close()blocks indefinitely on unresponsive peersgo-libp2p #3448, boxo #1083
stream.Close()can block forever on unresponsive peers, leaking goroutines until bitswap stops working entirely. Observed in production: hundreds of goroutines stuck for weeks.👉 The sniffer (likely) hits this exact code path on every DONT_HAVE response it sends. Both go-libp2p v0.47 and boxo v0.36 include independent fixes.