{"action":"closed","issue":{"url":"https://api.github.com/repos/CZ-NIC/knot-resolver/issues/3","labels_url":"https://api.github.com/repos/CZ-NIC/knot-resolver/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/CZ-NIC/knot-resolver/issues/3/comments","events_url":"https://api.github.com/repos/CZ-NIC/knot-resolver/issues/3/events","html_url":"https://github.com/CZ-NIC/knot-resolver/issues/3","id":85089625,"number":3,"title":"daemon: implement cosockets in Lua","user":{"login":"vavrusa","id":139311,"avatar_url":"https://avatars.githubusercontent.com/u/139311?v=3","gravatar_id":"","url":"https://api.github.com/users/vavrusa","html_url":"https://github.com/vavrusa","followers_url":"https://api.github.com/users/vavrusa/followers","following_url":"https://api.github.com/users/vavrusa/following{/other_user}","gists_url":"https://api.github.com/users/vavrusa/gists{/gist_id}","starred_url":"https://api.github.com/users/vavrusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vavrusa/subscriptions","organizations_url":"https://api.github.com/users/vavrusa/orgs","repos_url":"https://api.github.com/users/vavrusa/repos","events_url":"https://api.github.com/users/vavrusa/events{/privacy}","received_events_url":"https://api.github.com/users/vavrusa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CZ-NIC/knot-resolver/labels/daemon","name":"daemon","color":"009800"},{"url":"https://api.github.com/repos/CZ-NIC/knot-resolver/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/CZ-NIC/knot-resolver/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-04T13:01:19Z","updated_at":"2015-11-20T11:14:57Z","closed_at":"2015-11-20T11:14:57Z","body":"## Idea\r\n\r\nThis would allow modules in Lua land to start socket servers and pass on data without blocking the main thread. It should be implemented like a wrapper over LuaSocket API and call yield with a file descriptor, which would then return when that file descriptor becomes active."}}