Skip to content

Closing an EndPoint does not break connections #418

Description

@edsko

I basically ended up implementing a small wrapper around closeEndPoint that does

forM_ otherNodes $ \otherNode -> do
  InMem.breakConnection
    transportInternals
    (Transport.address nodeToBeTerminated)
    (Transport.address otherNode)
    ("Node " ++ show (Local.localNodeId nodeToBeTerminated) ++ " closed")

But I would have expected this to happen by default. Not sure if this is a documentation problem or a missing feature.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions