{"action":"created","issue":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1179","labels_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1179/labels{/name}","comments_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1179/comments","events_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1179/events","html_url":"https://github.com/rejectedsoftware/vibe.d/pull/1179","id":94352205,"number":1179,"title":"Fix peek in libasync","user":{"login":"etcimon","id":4785754,"avatar_url":"https://avatars.githubusercontent.com/u/4785754?v=3","gravatar_id":"","url":"https://api.github.com/users/etcimon","html_url":"https://github.com/etcimon","followers_url":"https://api.github.com/users/etcimon/followers","following_url":"https://api.github.com/users/etcimon/following{/other_user}","gists_url":"https://api.github.com/users/etcimon/gists{/gist_id}","starred_url":"https://api.github.com/users/etcimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etcimon/subscriptions","organizations_url":"https://api.github.com/users/etcimon/orgs","repos_url":"https://api.github.com/users/etcimon/repos","events_url":"https://api.github.com/users/etcimon/events{/privacy}","received_events_url":"https://api.github.com/users/etcimon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-10T17:30:21Z","updated_at":"2015-07-10T17:55:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/pulls/1179","html_url":"https://github.com/rejectedsoftware/vibe.d/pull/1179","diff_url":"https://github.com/rejectedsoftware/vibe.d/pull/1179.diff","patch_url":"https://github.com/rejectedsoftware/vibe.d/pull/1179.patch"},"body":"The peek function returned at most 1 byte due to a logical error. This also fixes an assertion failure when finalizing a read-only stream (not sure if it should fail)"},"comment":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/comments/120478239","html_url":"https://github.com/rejectedsoftware/vibe.d/pull/1179#issuecomment-120478239","issue_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1179","id":120478239,"user":{"login":"etcimon","id":4785754,"avatar_url":"https://avatars.githubusercontent.com/u/4785754?v=3","gravatar_id":"","url":"https://api.github.com/users/etcimon","html_url":"https://github.com/etcimon","followers_url":"https://api.github.com/users/etcimon/followers","following_url":"https://api.github.com/users/etcimon/following{/other_user}","gists_url":"https://api.github.com/users/etcimon/gists{/gist_id}","starred_url":"https://api.github.com/users/etcimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etcimon/subscriptions","organizations_url":"https://api.github.com/users/etcimon/orgs","repos_url":"https://api.github.com/users/etcimon/repos","events_url":"https://api.github.com/users/etcimon/events{/privacy}","received_events_url":"https://api.github.com/users/etcimon/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T17:55:37Z","updated_at":"2015-07-10T17:55:37Z","body":"I used the peek to capture the post data for the debugger. Check this out: \r\n\r\nhttps://gist.github.com/etcimon/fa075692ff9ab91e739d\r\n\r\nIt captures only 1 request that matches certain criterias, using this form: \r\nhttp://htmlpreview.github.io/?https://github.com/etcimon/vibe.d/blob/master/views/capture.html\r\n\r\nIt works in `--build=release` and `--build=plain`, so my compile time is pretty quick =)"}}