{"action":"created","issue":{"url":"https://api.github.com/repos/matsumoto-r/mruby-http2/issues/35","labels_url":"https://api.github.com/repos/matsumoto-r/mruby-http2/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/matsumoto-r/mruby-http2/issues/35/comments","events_url":"https://api.github.com/repos/matsumoto-r/mruby-http2/issues/35/events","html_url":"https://github.com/matsumoto-r/mruby-http2/pull/35","id":97423500,"number":35,"title":"fix to work rputs over 64k bytes.","user":{"login":"kjunichi","id":2083826,"avatar_url":"https://avatars.githubusercontent.com/u/2083826?v=3","gravatar_id":"","url":"https://api.github.com/users/kjunichi","html_url":"https://github.com/kjunichi","followers_url":"https://api.github.com/users/kjunichi/followers","following_url":"https://api.github.com/users/kjunichi/following{/other_user}","gists_url":"https://api.github.com/users/kjunichi/gists{/gist_id}","starred_url":"https://api.github.com/users/kjunichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjunichi/subscriptions","organizations_url":"https://api.github.com/users/kjunichi/orgs","repos_url":"https://api.github.com/users/kjunichi/repos","events_url":"https://api.github.com/users/kjunichi/events{/privacy}","received_events_url":"https://api.github.com/users/kjunichi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-07-27T09:33:55Z","updated_at":"2015-11-17T03:58:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matsumoto-r/mruby-http2/pulls/35","html_url":"https://github.com/matsumoto-r/mruby-http2/pull/35","diff_url":"https://github.com/matsumoto-r/mruby-http2/pull/35.diff","patch_url":"https://github.com/matsumoto-r/mruby-http2/pull/35.patch"},"body":"When we rputs over 64k bytes,write system call is blocked.This patch is fix it."},"comment":{"url":"https://api.github.com/repos/matsumoto-r/mruby-http2/issues/comments/157261432","html_url":"https://github.com/matsumoto-r/mruby-http2/pull/35#issuecomment-157261432","issue_url":"https://api.github.com/repos/matsumoto-r/mruby-http2/issues/35","id":157261432,"user":{"login":"matsumoto-r","id":648437,"avatar_url":"https://avatars.githubusercontent.com/u/648437?v=3","gravatar_id":"","url":"https://api.github.com/users/matsumoto-r","html_url":"https://github.com/matsumoto-r","followers_url":"https://api.github.com/users/matsumoto-r/followers","following_url":"https://api.github.com/users/matsumoto-r/following{/other_user}","gists_url":"https://api.github.com/users/matsumoto-r/gists{/gist_id}","starred_url":"https://api.github.com/users/matsumoto-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsumoto-r/subscriptions","organizations_url":"https://api.github.com/users/matsumoto-r/orgs","repos_url":"https://api.github.com/users/matsumoto-r/repos","events_url":"https://api.github.com/users/matsumoto-r/events{/privacy}","received_events_url":"https://api.github.com/users/matsumoto-r/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T03:58:08Z","updated_at":"2015-11-17T03:58:08Z","body":"@kjunichi すみません、コメント見落としていました。\r\n\r\n具体的には、\r\n\r\n```c\r\n     if(r->write_large_buf == NULL) {\r\n       mrb_http2_large_buf *b;\r\n\r\n       r->write_large_buf = (mrb_http2_large_buf*)malloc(sizeof(mrb_http2_large_buf));\r\n       if(r->write_large_buf == NULL) {\r\n         fprintf(stderr, \"Fatal error: can't alloc mrb_http2_large_buf.\\n\");\r\n         return mrb_fixnum_value(-1);\r\n       }\r\n       mrb_http2_large_buf_init(r->write_large_buf);\r\n       b = r->write_large_buf;\r\n・・・\r\n```\r\n\r\nなどで十分じゃないかという意図です。\r\n"}}