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
When the remote closes the entire connection, it's backed off, while if it closes a substream only, it's not.
When the remote closes the entire connection, the back-off is introduced here:
dmitry-markin
changed the title
[network/notifications] A remote peer is not banned when it rejects a substream
[network/notifications] A remote peer is not backed off when it rejects a substream
Oct 9, 2023
When the remote closes the entire connection, it's backed off, while if it closes a substream only, it's not.
When the remote closes the entire connection, the back-off is introduced here:
polkadot-sdk/substrate/client/network/src/protocol/notifications/behaviour.rs
Lines 1342 to 1358 in 76724ce
At the same time, if the remote just closes a substream, no back-off is applied here:
polkadot-sdk/substrate/client/network/src/protocol/notifications/behaviour.rs
Lines 1744 to 1745 in 76724ce
Originally discussed in #1563 (comment).
Relates to paritytech/substrate#13778.
The text was updated successfully, but these errors were encountered: