{"action":"created","comment":{"url":"https://api.github.com/repos/boostorg/beast/pulls/comments/147810477","pull_request_review_id":72959080,"id":147810477,"diff_hunk":"@@ -112,72 +126,61 @@ operator()(\n     error_code ec,\n     std::size_t bytes_transferred)\n {\n-    switch(state_)\n+    size_t consumed = 0;","path":"include/boost/beast/http/impl/read.ipp","position":40,"original_position":58,"commit_id":"464c217f42df1cacddb9244fc6b6f012a8c3ddb4","original_commit_id":"c2a33efbf4f2646c8bcd8c8c2ed8bd378bcf8f16","user":{"login":"vinniefalco","id":1503976,"avatar_url":"https://avatars3.githubusercontent.com/u/1503976?v=4","gravatar_id":"","url":"https://api.github.com/users/vinniefalco","html_url":"https://github.com/vinniefalco","followers_url":"https://api.github.com/users/vinniefalco/followers","following_url":"https://api.github.com/users/vinniefalco/following{/other_user}","gists_url":"https://api.github.com/users/vinniefalco/gists{/gist_id}","starred_url":"https://api.github.com/users/vinniefalco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinniefalco/subscriptions","organizations_url":"https://api.github.com/users/vinniefalco/orgs","repos_url":"https://api.github.com/users/vinniefalco/repos","events_url":"https://api.github.com/users/vinniefalco/events{/privacy}","received_events_url":"https://api.github.com/users/vinniefalco/received_events","type":"User","site_admin":false},"body":"Should be `std::size_t`","created_at":"2017-10-30T19:31:49Z","updated_at":"2017-10-30T19:31:49Z","html_url":"https://github.com/boostorg/beast/pull/810#discussion_r147810477","pull_request_url":"https://api.github.com/repos/boostorg/beast/pulls/810","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/boostorg/beast/pulls/comments/147810477"},"html":{"href":"https://github.com/boostorg/beast/pull/810#discussion_r147810477"},"pull_request":{"href":"https://api.github.com/repos/boostorg/beast/pulls/810"}},"in_reply_to_id":143364946},"pull_request":{"url":"https://api.github.com/repos/boostorg/beast/pulls/810","id":145293059,"html_url":"https://github.com/boostorg/beast/pull/810","diff_url":"https://github.com/boostorg/beast/pull/810.diff","patch_url":"https://github.com/boostorg/beast/pull/810.patch","issue_url":"https://api.github.com/repos/boostorg/beast/issues/810","number":810,"state":"open","locked":false,"title":"[WIP] Refactor HTTP async* operations","user":{"login":"djarek","id":6125067,"avatar_url":"https://avatars1.githubusercontent.com/u/6125067?v=4","gravatar_id":"","url":"https://api.github.com/users/djarek","html_url":"https://github.com/djarek","followers_url":"https://api.github.com/users/djarek/followers","following_url":"https://api.github.com/users/djarek/following{/other_user}","gists_url":"https://api.github.com/users/djarek/gists{/gist_id}","starred_url":"https://api.github.com/users/djarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djarek/subscriptions","organizations_url":"https://api.github.com/users/djarek/orgs","repos_url":"https://api.github.com/users/djarek/repos","events_url":"https://api.github.com/users/djarek/events{/privacy}","received_events_url":"https://api.github.com/users/djarek/received_events","type":"User","site_admin":false},"body":"## Changes:\r\n- Use stackless coroutines instead of hand-rolled state machines.\r\n- Added the ```is_continuation()``` helper to retrieve the state of a stackless coroutine.\r\n- Added the ```prepare_or_error()``` helper to avoid issues with yield labels crossing initialization of catch blocks.\r\n- Remove caching of mutable buffer in ```read_some_op```.\r\n- Renamed ```bytes_transferred``` to ```total_bytes_consumed_``` in ```read_some_op``` since it stored the number of bytes consumed by the parser.\r\n\r\n## To Do:\r\n- [ ] write_some_op\r\n- [ ] write_msg_op\r\n- [ ] write_op\r\n\r\nResolves: #764 ","created_at":"2017-10-07T14:14:22Z","updated_at":"2017-10-30T19:31:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26fbb9a8e7752d68fcaa9be404dc032cde0e443f","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/boostorg/beast/pulls/810/commits","review_comments_url":"https://api.github.com/repos/boostorg/beast/pulls/810/comments","review_comment_url":"https://api.github.com/repos/boostorg/beast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boostorg/beast/issues/810/comments","statuses_url":"https://api.github.com/repos/boostorg/beast/statuses/464c217f42df1cacddb9244fc6b6f012a8c3ddb4","head":{"label":"djarek:http_op_refactor","ref":"http_op_refactor","sha":"464c217f42df1cacddb9244fc6b6f012a8c3ddb4","user":{"login":"djarek","id":6125067,"avatar_url":"https://avatars1.githubusercontent.com/u/6125067?v=4","gravatar_id":"","url":"https://api.github.com/users/djarek","html_url":"https://github.com/djarek","followers_url":"https://api.github.com/users/djarek/followers","following_url":"https://api.github.com/users/djarek/following{/other_user}","gists_url":"https://api.github.com/users/djarek/gists{/gist_id}","starred_url":"https://api.github.com/users/djarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djarek/subscriptions","organizations_url":"https://api.github.com/users/djarek/orgs","repos_url":"https://api.github.com/users/djarek/repos","events_url":"https://api.github.com/users/djarek/events{/privacy}","received_events_url":"https://api.github.com/users/djarek/received_events","type":"User","site_admin":false},"repo":{"id":101684361,"name":"beast","full_name":"djarek/beast","owner":{"login":"djarek","id":6125067,"avatar_url":"https://avatars1.githubusercontent.com/u/6125067?v=4","gravatar_id":"","url":"https://api.github.com/users/djarek","html_url":"https://github.com/djarek","followers_url":"https://api.github.com/users/djarek/followers","following_url":"https://api.github.com/users/djarek/following{/other_user}","gists_url":"https://api.github.com/users/djarek/gists{/gist_id}","starred_url":"https://api.github.com/users/djarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djarek/subscriptions","organizations_url":"https://api.github.com/users/djarek/orgs","repos_url":"https://api.github.com/users/djarek/repos","events_url":"https://api.github.com/users/djarek/events{/privacy}","received_events_url":"https://api.github.com/users/djarek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djarek/beast","description":"HTTP and WebSocket built on Boost.Asio in C++11","fork":true,"url":"https://api.github.com/repos/djarek/beast","forks_url":"https://api.github.com/repos/djarek/beast/forks","keys_url":"https://api.github.com/repos/djarek/beast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djarek/beast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djarek/beast/teams","hooks_url":"https://api.github.com/repos/djarek/beast/hooks","issue_events_url":"https://api.github.com/repos/djarek/beast/issues/events{/number}","events_url":"https://api.github.com/repos/djarek/beast/events","assignees_url":"https://api.github.com/repos/djarek/beast/assignees{/user}","branches_url":"https://api.github.com/repos/djarek/beast/branches{/branch}","tags_url":"https://api.github.com/repos/djarek/beast/tags","blobs_url":"https://api.github.com/repos/djarek/beast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djarek/beast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djarek/beast/git/refs{/sha}","trees_url":"https://api.github.com/repos/djarek/beast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djarek/beast/statuses/{sha}","languages_url":"https://api.github.com/repos/djarek/beast/languages","stargazers_url":"https://api.github.com/repos/djarek/beast/stargazers","contributors_url":"https://api.github.com/repos/djarek/beast/contributors","subscribers_url":"https://api.github.com/repos/djarek/beast/subscribers","subscription_url":"https://api.github.com/repos/djarek/beast/subscription","commits_url":"https://api.github.com/repos/djarek/beast/commits{/sha}","git_commits_url":"https://api.github.com/repos/djarek/beast/git/commits{/sha}","comments_url":"https://api.github.com/repos/djarek/beast/comments{/number}","issue_comment_url":"https://api.github.com/repos/djarek/beast/issues/comments{/number}","contents_url":"https://api.github.com/repos/djarek/beast/contents/{+path}","compare_url":"https://api.github.com/repos/djarek/beast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djarek/beast/merges","archive_url":"https://api.github.com/repos/djarek/beast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djarek/beast/downloads","issues_url":"https://api.github.com/repos/djarek/beast/issues{/number}","pulls_url":"https://api.github.com/repos/djarek/beast/pulls{/number}","milestones_url":"https://api.github.com/repos/djarek/beast/milestones{/number}","notifications_url":"https://api.github.com/repos/djarek/beast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djarek/beast/labels{/name}","releases_url":"https://api.github.com/repos/djarek/beast/releases{/id}","deployments_url":"https://api.github.com/repos/djarek/beast/deployments","created_at":"2017-08-28T20:22:12Z","updated_at":"2017-08-28T20:22:14Z","pushed_at":"2017-10-29T12:59:30Z","git_url":"git://github.com/djarek/beast.git","ssh_url":"git@github.com:djarek/beast.git","clone_url":"https://github.com/djarek/beast.git","svn_url":"https://github.com/djarek/beast","homepage":"http://www.boost.org/doc/libs/develop/libs/beast/doc/html/beast.html","size":7848,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"boostorg:develop","ref":"develop","sha":"860b764ba4ea1caa7649b3d8bbbdf88bf24d5ef6","user":{"login":"boostorg","id":3170529,"avatar_url":"https://avatars0.githubusercontent.com/u/3170529?v=4","gravatar_id":"","url":"https://api.github.com/users/boostorg","html_url":"https://github.com/boostorg","followers_url":"https://api.github.com/users/boostorg/followers","following_url":"https://api.github.com/users/boostorg/following{/other_user}","gists_url":"https://api.github.com/users/boostorg/gists{/gist_id}","starred_url":"https://api.github.com/users/boostorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boostorg/subscriptions","organizations_url":"https://api.github.com/users/boostorg/orgs","repos_url":"https://api.github.com/users/boostorg/repos","events_url":"https://api.github.com/users/boostorg/events{/privacy}","received_events_url":"https://api.github.com/users/boostorg/received_events","type":"Organization","site_admin":false},"repo":{"id":10726510,"name":"beast","full_name":"boostorg/beast","owner":{"login":"boostorg","id":3170529,"avatar_url":"https://avatars0.githubusercontent.com/u/3170529?v=4","gravatar_id":"","url":"https://api.github.com/users/boostorg","html_url":"https://github.com/boostorg","followers_url":"https://api.github.com/users/boostorg/followers","following_url":"https://api.github.com/users/boostorg/following{/other_user}","gists_url":"https://api.github.com/users/boostorg/gists{/gist_id}","starred_url":"https://api.github.com/users/boostorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boostorg/subscriptions","organizations_url":"https://api.github.com/users/boostorg/orgs","repos_url":"https://api.github.com/users/boostorg/repos","events_url":"https://api.github.com/users/boostorg/events{/privacy}","received_events_url":"https://api.github.com/users/boostorg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/boostorg/beast","description":"HTTP and WebSocket built on Boost.Asio in C++11","fork":false,"url":"https://api.github.com/repos/boostorg/beast","forks_url":"https://api.github.com/repos/boostorg/beast/forks","keys_url":"https://api.github.com/repos/boostorg/beast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boostorg/beast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boostorg/beast/teams","hooks_url":"https://api.github.com/repos/boostorg/beast/hooks","issue_events_url":"https://api.github.com/repos/boostorg/beast/issues/events{/number}","events_url":"https://api.github.com/repos/boostorg/beast/events","assignees_url":"https://api.github.com/repos/boostorg/beast/assignees{/user}","branches_url":"https://api.github.com/repos/boostorg/beast/branches{/branch}","tags_url":"https://api.github.com/repos/boostorg/beast/tags","blobs_url":"https://api.github.com/repos/boostorg/beast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boostorg/beast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boostorg/beast/git/refs{/sha}","trees_url":"https://api.github.com/repos/boostorg/beast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boostorg/beast/statuses/{sha}","languages_url":"https://api.github.com/repos/boostorg/beast/languages","stargazers_url":"https://api.github.com/repos/boostorg/beast/stargazers","contributors_url":"https://api.github.com/repos/boostorg/beast/contributors","subscribers_url":"https://api.github.com/repos/boostorg/beast/subscribers","subscription_url":"https://api.github.com/repos/boostorg/beast/subscription","commits_url":"https://api.github.com/repos/boostorg/beast/commits{/sha}","git_commits_url":"https://api.github.com/repos/boostorg/beast/git/commits{/sha}","comments_url":"https://api.github.com/repos/boostorg/beast/comments{/number}","issue_comment_url":"https://api.github.com/repos/boostorg/beast/issues/comments{/number}","contents_url":"https://api.github.com/repos/boostorg/beast/contents/{+path}","compare_url":"https://api.github.com/repos/boostorg/beast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boostorg/beast/merges","archive_url":"https://api.github.com/repos/boostorg/beast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boostorg/beast/downloads","issues_url":"https://api.github.com/repos/boostorg/beast/issues{/number}","pulls_url":"https://api.github.com/repos/boostorg/beast/pulls{/number}","milestones_url":"https://api.github.com/repos/boostorg/beast/milestones{/number}","notifications_url":"https://api.github.com/repos/boostorg/beast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boostorg/beast/labels{/name}","releases_url":"https://api.github.com/repos/boostorg/beast/releases{/id}","deployments_url":"https://api.github.com/repos/boostorg/beast/deployments","created_at":"2013-06-16T22:26:09Z","updated_at":"2017-10-30T10:39:17Z","pushed_at":"2017-10-30T16:32:43Z","git_url":"git://github.com/boostorg/beast.git","ssh_url":"git@github.com:boostorg/beast.git","clone_url":"https://github.com/boostorg/beast.git","svn_url":"https://github.com/boostorg/beast","homepage":"http://www.boost.org/doc/libs/develop/libs/beast/doc/html/beast.html","size":7750,"stargazers_count":949,"watchers_count":949,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":167,"mirror_url":null,"archived":false,"open_issues_count":111,"forks":167,"open_issues":111,"watchers":949,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/boostorg/beast/pulls/810"},"html":{"href":"https://github.com/boostorg/beast/pull/810"},"issue":{"href":"https://api.github.com/repos/boostorg/beast/issues/810"},"comments":{"href":"https://api.github.com/repos/boostorg/beast/issues/810/comments"},"review_comments":{"href":"https://api.github.com/repos/boostorg/beast/pulls/810/comments"},"review_comment":{"href":"https://api.github.com/repos/boostorg/beast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boostorg/beast/pulls/810/commits"},"statuses":{"href":"https://api.github.com/repos/boostorg/beast/statuses/464c217f42df1cacddb9244fc6b6f012a8c3ddb4"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vinniefalco"}}