{"action":"closed","issue":{"url":"https://api.github.com/repos/haskell/network/issues/350","repository_url":"https://api.github.com/repos/haskell/network","labels_url":"https://api.github.com/repos/haskell/network/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/haskell/network/issues/350/comments","events_url":"https://api.github.com/repos/haskell/network/issues/350/events","html_url":"https://github.com/haskell/network/issues/350","id":360507254,"node_id":"MDU6SXNzdWUzNjA1MDcyNTQ=","number":350,"title":"Deprecating Socket.mkSocket is a serious loss of functionality","user":{"login":"okeuday","id":61850,"node_id":"MDQ6VXNlcjYxODUw","avatar_url":"https://avatars2.githubusercontent.com/u/61850?v=4","gravatar_id":"","url":"https://api.github.com/users/okeuday","html_url":"https://github.com/okeuday","followers_url":"https://api.github.com/users/okeuday/followers","following_url":"https://api.github.com/users/okeuday/following{/other_user}","gists_url":"https://api.github.com/users/okeuday/gists{/gist_id}","starred_url":"https://api.github.com/users/okeuday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okeuday/subscriptions","organizations_url":"https://api.github.com/users/okeuday/orgs","repos_url":"https://api.github.com/users/okeuday/repos","events_url":"https://api.github.com/users/okeuday/events{/privacy}","received_events_url":"https://api.github.com/users/okeuday/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-15T04:43:56Z","updated_at":"2018-09-16T19:52:52Z","closed_at":"2018-09-16T19:52:52Z","author_association":"NONE","body":"Without `Socket.mkSocket` being present it is impossible to create a socket from a file descriptor (integer) that was created before ghc was started (i.e., within the OS process before the exec call of the ghc executable).  Removing this functionality in version 3.0.0.0 or later (as mentioned in [https://hackage.haskell.org/package/network-2.8.0.0/docs/Network-Socket.html#v:MkSocket](https://hackage.haskell.org/package/network-2.8.0.0/docs/Network-Socket.html#v:MkSocket)) causes a serious loss of functionality which is likely not obvious to most use or development of network.\r\n\r\nThe documentation currently is erroneous in the claim that the same functionality is achieved by `fdSocket` since that is going the opposite direction, getting an integer file descriptor from the socket.  If Haskell is unable to support creating a `Socket` from an integer file descriptor, it will be necessary to remove Haskell support from [https://cloudi.org](https://cloudi.org)."}}
{"actor":{"display_login":"okeuday"}}