Skip to content
Unverified Commit 6970f10d authored by Aaro Altonen's avatar Aaro Altonen
Browse files

Prevent opening another substream right after the connection is closed

Back-off wasn't applied to locally closed or rejected connections which
could cause `ProtocolController` to reconnect to the node right after
a connection to them had been closed. Remote mightn't have noticed that
a connection was closed and the immediate reconnection would cause
remote side substream to not work as it was no longer writable.
parent 76724ce9
Pipeline #390261 passed with stages
in 1 hour, 7 minutes, and 56 seconds