{"action":"created","issue":{"url":"https://api.github.com/repos/wahern/cqueues/issues/72","labels_url":"https://api.github.com/repos/wahern/cqueues/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/wahern/cqueues/issues/72/comments","events_url":"https://api.github.com/repos/wahern/cqueues/issues/72/events","html_url":"https://github.com/wahern/cqueues/pull/72","id":89204548,"number":72,"title":":fill hangs","user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wahern/cqueues/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T05:36:12Z","updated_at":"2015-06-18T07:02:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wahern/cqueues/pulls/72","html_url":"https://github.com/wahern/cqueues/pull/72","diff_url":"https://github.com/wahern/cqueues/pull/72.diff","patch_url":"https://github.com/wahern/cqueues/pull/72.patch"},"body":"`:fill` can hang waiting for data\r\n\r\n```lua\r\nlocal cs = require \"cqueues.socket\"\r\nlocal a, b = cs.pair()\r\nassert(a:write(\"test\"))\r\na:flush()\r\nprint(\"Wrote\\nFilling.\")\r\nassert(b:fill(4))\r\nprint(\"Reading\")\r\nassert(b:read(4))\r\n```"},"comment":{"url":"https://api.github.com/repos/wahern/cqueues/issues/comments/113056831","html_url":"https://github.com/wahern/cqueues/pull/72#issuecomment-113056831","issue_url":"https://api.github.com/repos/wahern/cqueues/issues/72","id":113056831,"user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T07:02:58Z","updated_at":"2015-06-18T07:02:58Z","body":"I think that `fifo_grow` shouldn't be called the loop?"}}