{"action":"created","issue":{"url":"https://api.github.com/repos/gobwas/ws/issues/60","repository_url":"https://api.github.com/repos/gobwas/ws","labels_url":"https://api.github.com/repos/gobwas/ws/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/gobwas/ws/issues/60/comments","events_url":"https://api.github.com/repos/gobwas/ws/issues/60/events","html_url":"https://github.com/gobwas/ws/pull/60","id":374858948,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NDM4NTMz","number":60,"title":"fix: incorrect usage of unsafe uintptr","user":{"login":"jxskiss","id":17606336,"node_id":"MDQ6VXNlcjE3NjA2MzM2","avatar_url":"https://avatars3.githubusercontent.com/u/17606336?v=4","gravatar_id":"","url":"https://api.github.com/users/jxskiss","html_url":"https://github.com/jxskiss","followers_url":"https://api.github.com/users/jxskiss/followers","following_url":"https://api.github.com/users/jxskiss/following{/other_user}","gists_url":"https://api.github.com/users/jxskiss/gists{/gist_id}","starred_url":"https://api.github.com/users/jxskiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jxskiss/subscriptions","organizations_url":"https://api.github.com/users/jxskiss/orgs","repos_url":"https://api.github.com/users/jxskiss/repos","events_url":"https://api.github.com/users/jxskiss/events{/privacy}","received_events_url":"https://api.github.com/users/jxskiss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-29T04:59:22Z","updated_at":"2018-10-30T21:08:12Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/gobwas/ws/pulls/60","html_url":"https://github.com/gobwas/ws/pull/60","diff_url":"https://github.com/gobwas/ws/pull/60.diff","patch_url":"https://github.com/gobwas/ws/pull/60.patch"},"body":"When I used this library on windows, ReadHeader returns full zero Header after about 3-5 calls, and sometimes the program panic. After some debug I found it's caused by the usage of uintptr.\r\n\r\nAccording to doc of `unsafe.Pointer`, most of the previous uintptr usage are incorrect. This PR fixes the issue.\r\n\r\nChange-Id: Iddd9c07d7c1c1d3f1cf5239b6524e9399b49725d"},"comment":{"url":"https://api.github.com/repos/gobwas/ws/issues/comments/434470190","html_url":"https://github.com/gobwas/ws/pull/60#issuecomment-434470190","issue_url":"https://api.github.com/repos/gobwas/ws/issues/60","id":434470190,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDQ3MDE5MA==","user":{"login":"gobwas","id":675117,"node_id":"MDQ6VXNlcjY3NTExNw==","avatar_url":"https://avatars0.githubusercontent.com/u/675117?v=4","gravatar_id":"","url":"https://api.github.com/users/gobwas","html_url":"https://github.com/gobwas","followers_url":"https://api.github.com/users/gobwas/followers","following_url":"https://api.github.com/users/gobwas/following{/other_user}","gists_url":"https://api.github.com/users/gobwas/gists{/gist_id}","starred_url":"https://api.github.com/users/gobwas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gobwas/subscriptions","organizations_url":"https://api.github.com/users/gobwas/orgs","repos_url":"https://api.github.com/users/gobwas/repos","events_url":"https://api.github.com/users/gobwas/events{/privacy}","received_events_url":"https://api.github.com/users/gobwas/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T21:08:12Z","updated_at":"2018-10-30T21:08:12Z","author_association":"OWNER","body":"Also could you paste more stack trace? How can I reproduce this?"}}
{"actor":{"display_login":"gobwas"}}