{"action":"created","issue":{"url":"https://api.github.com/repos/WatchBeam/rtmp/issues/28","repository_url":"https://api.github.com/repos/WatchBeam/rtmp","labels_url":"https://api.github.com/repos/WatchBeam/rtmp/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/WatchBeam/rtmp/issues/28/comments","events_url":"https://api.github.com/repos/WatchBeam/rtmp/issues/28/events","html_url":"https://github.com/WatchBeam/rtmp/pull/28","id":154758182,"number":28,"title":"Allow servers to be instatiated directly from net.Listener","user":{"login":"connor4312","id":2230985,"avatar_url":"https://avatars.githubusercontent.com/u/2230985?v=3","gravatar_id":"","url":"https://api.github.com/users/connor4312","html_url":"https://github.com/connor4312","followers_url":"https://api.github.com/users/connor4312/followers","following_url":"https://api.github.com/users/connor4312/following{/other_user}","gists_url":"https://api.github.com/users/connor4312/gists{/gist_id}","starred_url":"https://api.github.com/users/connor4312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connor4312/subscriptions","organizations_url":"https://api.github.com/users/connor4312/orgs","repos_url":"https://api.github.com/users/connor4312/repos","events_url":"https://api.github.com/users/connor4312/events{/privacy}","received_events_url":"https://api.github.com/users/connor4312/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-13T17:04:47Z","updated_at":"2016-05-13T17:24:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WatchBeam/rtmp/pulls/28","html_url":"https://github.com/WatchBeam/rtmp/pull/28","diff_url":"https://github.com/WatchBeam/rtmp/pull/28.diff","patch_url":"https://github.com/WatchBeam/rtmp/pull/28.patch"},"body":"What the title says 😛  This allows servers to be instantiated from existing sockets, such that those that are passed over as fds when the process starts."},"comment":{"url":"https://api.github.com/repos/WatchBeam/rtmp/issues/comments/219106552","html_url":"https://github.com/WatchBeam/rtmp/pull/28#issuecomment-219106552","issue_url":"https://api.github.com/repos/WatchBeam/rtmp/issues/28","id":219106552,"user":{"login":"connor4312","id":2230985,"avatar_url":"https://avatars.githubusercontent.com/u/2230985?v=3","gravatar_id":"","url":"https://api.github.com/users/connor4312","html_url":"https://github.com/connor4312","followers_url":"https://api.github.com/users/connor4312/followers","following_url":"https://api.github.com/users/connor4312/following{/other_user}","gists_url":"https://api.github.com/users/connor4312/gists{/gist_id}","starred_url":"https://api.github.com/users/connor4312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connor4312/subscriptions","organizations_url":"https://api.github.com/users/connor4312/orgs","repos_url":"https://api.github.com/users/connor4312/repos","events_url":"https://api.github.com/users/connor4312/events{/privacy}","received_events_url":"https://api.github.com/users/connor4312/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T17:24:18Z","updated_at":"2016-05-13T17:24:18Z","body":"Okay, we're good now. I added functionality to release the listening socket, which closes the Accept() loop and returns the listener. In an RTMP server this method may be called to surrender the listening socket to pass it to a new instance of the server upon restart."}}