IntersectMBO / IntersectMBO/ouroboros-network

Restore assertion in unregisterOutboundConnection

Open
#3,477 1 comment 0 reactions 0 assignees View on GitHub
connection-manager
Dominant language
Haskell
Stars
296
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
4

Description

When the [assertion](https://github.com/input-output-hk/ouroboros-network/blob/p2p-master/ouroboros-network-framework/src/Ouroboros/Network/ConnectionManager/Core.hs#L1825) fires, we are unregistering a unidirectional outbound connection which is in
InboundIdleState. The `Test.Ouroboros.Network.Server2` tests do not have
a proper outbound governor, which can lead to this kind of problems.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.