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
Peer B notices the disconnect, forgets peer A's wantlist.
Peer A immediately reconnects to peer B.
Peer A notices the disconnect, sees that it still has a connection, doesn't resend it's wantlist.
Solution
The only thing I can think of is the following: whenever the stream we're using to send wantlists closes, we (a) open a new one and (b) send the complete wantlist. Unfortunately, I really wanted to eventually move away from keeping a stream open entirely but, we'll, I can't think of a better solution.
The text was updated successfully, but these errors were encountered:
Forked from: ipfs/go-bitswap#99
Problem
Solution
The only thing I can think of is the following: whenever the stream we're using to send wantlists closes, we (a) open a new one and (b) send the complete wantlist. Unfortunately, I really wanted to eventually move away from keeping a stream open entirely but, we'll, I can't think of a better solution.
The text was updated successfully, but these errors were encountered: