{"action":"created","issue":{"url":"https://api.github.com/repos/haskell-distributed/network-transport/issues/17","labels_url":"https://api.github.com/repos/haskell-distributed/network-transport/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/haskell-distributed/network-transport/issues/17/comments","events_url":"https://api.github.com/repos/haskell-distributed/network-transport/issues/17/events","html_url":"https://github.com/haskell-distributed/network-transport/issues/17","id":89093119,"number":17,"title":"[NT-4] Support `closeConnectionTo`","user":{"login":"qnikst","id":170227,"avatar_url":"https://avatars.githubusercontent.com/u/170227?v=3","gravatar_id":"","url":"https://api.github.com/users/qnikst","html_url":"https://github.com/qnikst","followers_url":"https://api.github.com/users/qnikst/followers","following_url":"https://api.github.com/users/qnikst/following{/other_user}","gists_url":"https://api.github.com/users/qnikst/gists{/gist_id}","starred_url":"https://api.github.com/users/qnikst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnikst/subscriptions","organizations_url":"https://api.github.com/users/qnikst/orgs","repos_url":"https://api.github.com/users/qnikst/repos","events_url":"https://api.github.com/users/qnikst/events{/privacy}","received_events_url":"https://api.github.com/users/qnikst/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell-distributed/network-transport/labels/discussion","name":"discussion","color":"fbca04"},{"url":"https://api.github.com/repos/haskell-distributed/network-transport/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-17T18:35:26Z","updated_at":"2015-07-02T07:46:32Z","closed_at":null,"body":"[Imported from JIRA. Reported by Edsko de Vries @edsko)  as [NT-4](https://cloud-haskell.atlassian.net/browse/NT-4) on 2012-09-24 11:54:55]\nwhich closes the entire \"bundle\" of (outgoing _and_ incoming) connections to another endpoint. Basically, \"disconnect completely from this other endpoint\" (a \"heavyweight disconnect\"). \n\nOnce this is implemented we can resolve a TODO in `Control.Distributed.Process.Node`."},"comment":{"url":"https://api.github.com/repos/haskell-distributed/network-transport/issues/comments/117947092","html_url":"https://github.com/haskell-distributed/network-transport/issues/17#issuecomment-117947092","issue_url":"https://api.github.com/repos/haskell-distributed/network-transport/issues/17","id":117947092,"user":{"login":"mboes","id":51356,"avatar_url":"https://avatars.githubusercontent.com/u/51356?v=3","gravatar_id":"","url":"https://api.github.com/users/mboes","html_url":"https://github.com/mboes","followers_url":"https://api.github.com/users/mboes/followers","following_url":"https://api.github.com/users/mboes/following{/other_user}","gists_url":"https://api.github.com/users/mboes/gists{/gist_id}","starred_url":"https://api.github.com/users/mboes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboes/subscriptions","organizations_url":"https://api.github.com/users/mboes/orgs","repos_url":"https://api.github.com/users/mboes/repos","events_url":"https://api.github.com/users/mboes/events{/privacy}","received_events_url":"https://api.github.com/users/mboes/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T07:46:32Z","updated_at":"2015-07-02T07:46:32Z","body":"Notice that this feature request amounts to adding the same function as what d-p-tests expect in order to break connections between two endpoints for testing purposes. I guess this issue shows that a `failRemoteEndPoint` function could be useful not just for tests, and therefore should be part of the API proper.\r\n\r\nAll connections should get an ErrorEvent I think, basically the same semantics as whatever happens when testBreakConnection is called in d-p-tests TCP tests."}}