Skip to content

v0.14.2

Choose a tag to compare

@github-actions github-actions released this 12 Jun 15:19
· 33 commits to master since this release
adf1137

This release hardens the Bitswap and WebRTC protocols against silent failure modes that could leave connections or pending work stuck without ever being reported to higher-level protocols.

Bitswap now handles SubstreamOpenFailure, DialFailure, and ConnectionClosed events, bringing it in line with the other protocols. Previously, a failed outbound substream would leave responses stacking onto a dead queue, causing the peer to silently stop being served until the local node was restarted.

WebRTC replaces several unwrap/expect calls in the connection event loop with proper error propagation, and now reports substream open failures to upper layers when the RTC association is no longer healthy, preventing protocols from hanging on a substream that will never open.

Fixed

  • bitswap: Handle substream open and connection failures to avoid stuck pending responses (#618)
  • webrtc: Avoid panics and properly close opening substreams (#616)