Skip to content

Closing an EndPoint does not break connections #418

@edsko

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.

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