Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Closing an EndPoint does not break connections #418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
edsko opened this issue Feb 16, 2016 · 1 comment
Open

Closing an EndPoint does not break connections #418

edsko opened this issue Feb 16, 2016 · 1 comment

Comments

@edsko
Copy link
Member

edsko commented Feb 16, 2016

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.

@ssadler
Copy link

ssadler commented May 19, 2020

Is there a branch where this is fixed? See below!

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

Successfully merging a pull request may close this issue.

3 participants