You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BasicHost.NewStream takes a context, but if that context is Background, it may block indefinitely. While it's better for the caller to set some timeout that makes sense in their context, we can do better than blocking forever.
BasicHost.NewStream
takes a context, but if that context isBackground
, it may block indefinitely. While it's better for the caller to set some timeout that makes sense in their context, we can do better than blocking forever.Also see: libp2p/go-libp2p-kad-dht#994
Note: we tried to fix this here: https://github.com/libp2p/go-libp2p/pull/2907/files. But this is still an issue when we negotiate MSS:
go-libp2p/p2p/host/basic/basic_host.go
Lines 730 to 747 in 921cc71
The text was updated successfully, but these errors were encountered: