Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enqueue message when outbound stream fails
An outbound stream carries the first message for the remote node when upgrading in the `OutboundOpenInfo`. Thus far the GossipSub handler would drop the message when the outbound stream fails to upgrade. This could e.g. lead to a remote peer receiving a GRAFT without a previous SUBSCRIBE. With this commit the message carried in the upgrade's `OutboundOpenInfo` is re-enqueued.
- Loading branch information