{"action":"created","comment":{"url":"https://api.github.com/repos/vinniefalco/Beast/pulls/comments/83909134","pull_request_review_id":4721299,"id":83909134,"diff_hunk":"@@ -209,6 +209,36 @@ class basic_streambuf\n         return this->member();\n     }\n \n+    /** Returns the default allocation size.\n+\n+        This is the smallest size that the stream buffer will allocate.\n+        The size of the allocation can influence capacity, which will\n+        affect algorithms that use capacity to efficiently read from\n+        streams.\n+    */\n+    std::size_t\n+    alloc_size() const\n+    {\n+        return alloc_size_;\n+    }\n+\n+    /** Set the default allocation size.\n+\n+        This is the smallest size that the stream buffer will allocate.\n+        The size of the allocation can influence capacity, which will\n+        affect algorithms that use capacity to efficiently read from\n+        streams.\n+\n+        @note This will not affect any already-existing allocations.\n+\n+        @param n The number of bytes.\n+    */\n+    void\n+    alloc_size(std::size_t n)","path":"include/beast/core/basic_streambuf.hpp","position":38,"original_position":38,"commit_id":"990846ed0ee1e6448fb9511f74ddbf9acbc41269","original_commit_id":"ebebe52612fc9a5f754ab4caf5ddb45b97b8f599","user":{"login":"bachase","id":14430,"avatar_url":"https://avatars.githubusercontent.com/u/14430?v=3","gravatar_id":"","url":"https://api.github.com/users/bachase","html_url":"https://github.com/bachase","followers_url":"https://api.github.com/users/bachase/followers","following_url":"https://api.github.com/users/bachase/following{/other_user}","gists_url":"https://api.github.com/users/bachase/gists{/gist_id}","starred_url":"https://api.github.com/users/bachase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachase/subscriptions","organizations_url":"https://api.github.com/users/bachase/orgs","repos_url":"https://api.github.com/users/bachase/repos","events_url":"https://api.github.com/users/bachase/events{/privacy}","received_events_url":"https://api.github.com/users/bachase/received_events","type":"User","site_admin":false},"body":"D'oh.  For others, it is [here](https://github.com/vinniefalco/Beast/pull/146/files/ebebe52612fc9a5f754ab4caf5ddb45b97b8f599#diff-9f4842e13a767b52e0c1c9e0437e6f1bR462)","created_at":"2016-10-18T17:37:42Z","updated_at":"2016-10-18T17:37:42Z","html_url":"https://github.com/vinniefalco/Beast/pull/146#discussion_r83909134","pull_request_url":"https://api.github.com/repos/vinniefalco/Beast/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/vinniefalco/Beast/pulls/comments/83909134"},"html":{"href":"https://github.com/vinniefalco/Beast/pull/146#discussion_r83909134"},"pull_request":{"href":"https://api.github.com/repos/vinniefalco/Beast/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/vinniefalco/Beast/pulls/146","id":89642717,"html_url":"https://github.com/vinniefalco/Beast/pull/146","diff_url":"https://github.com/vinniefalco/Beast/pull/146.diff","patch_url":"https://github.com/vinniefalco/Beast/pull/146.patch","issue_url":"https://api.github.com/repos/vinniefalco/Beast/issues/146","number":146,"state":"open","locked":false,"title":"1.0.0-b17","user":{"login":"vinniefalco","id":1503976,"avatar_url":"https://avatars.githubusercontent.com/u/1503976?v=3","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":"* Tidy up some declarations\r\n* Fix basic_streambuf::capacity\r\n* Add basic_streambuf::alloc_size\r\n* Parser callbacks may not throw\r\n* Fix Reader concept doc typo\r\n* Add is_Reader trait\r\n* Tidy up basic_headers for documentation\r\n* Tidy up documentation\r\n* Add basic_parser_v1::reset\r\n* Fix handling of body_what::pause in basic_parser_v1\r\n\r\nAPI Changes:\r\n\r\n* Added init() to Reader requirements\r\n* Reader must be nothrow constructible\r\n* Reader is now constructed right before reading the body\r\n  - The message passed on construction is filled in\r\n* Rework HTTP concepts:\r\n  - Writer uses write instead of operator()\r\n  - Refactor traits to use void_t\r\n  - Remove is_ReadableBody, is_WritableBody\r\n  - Add has_reader, has_writer, is_Reader, is_Writer\r\n  - More friendly compile errors on failed concept checks\r\n* basic_parser_v1 requires all callbacks present\r\n* on_headers parser callback now returns void\r\n* on_body_what is a new required parser callback returning body_what\r\n","created_at":"2016-10-17T15:10:29Z","updated_at":"2016-10-18T17:37:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c477e2de6f20a5699470b0348db3e5fbe5a12bd","assignee":{"login":"bachase","id":14430,"avatar_url":"https://avatars.githubusercontent.com/u/14430?v=3","gravatar_id":"","url":"https://api.github.com/users/bachase","html_url":"https://github.com/bachase","followers_url":"https://api.github.com/users/bachase/followers","following_url":"https://api.github.com/users/bachase/following{/other_user}","gists_url":"https://api.github.com/users/bachase/gists{/gist_id}","starred_url":"https://api.github.com/users/bachase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachase/subscriptions","organizations_url":"https://api.github.com/users/bachase/orgs","repos_url":"https://api.github.com/users/bachase/repos","events_url":"https://api.github.com/users/bachase/events{/privacy}","received_events_url":"https://api.github.com/users/bachase/received_events","type":"User","site_admin":false},"assignees":[{"login":"bachase","id":14430,"avatar_url":"https://avatars.githubusercontent.com/u/14430?v=3","gravatar_id":"","url":"https://api.github.com/users/bachase","html_url":"https://github.com/bachase","followers_url":"https://api.github.com/users/bachase/followers","following_url":"https://api.github.com/users/bachase/following{/other_user}","gists_url":"https://api.github.com/users/bachase/gists{/gist_id}","starred_url":"https://api.github.com/users/bachase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachase/subscriptions","organizations_url":"https://api.github.com/users/bachase/orgs","repos_url":"https://api.github.com/users/bachase/repos","events_url":"https://api.github.com/users/bachase/events{/privacy}","received_events_url":"https://api.github.com/users/bachase/received_events","type":"User","site_admin":false},{"login":"JoelKatz","id":877549,"avatar_url":"https://avatars.githubusercontent.com/u/877549?v=3","gravatar_id":"","url":"https://api.github.com/users/JoelKatz","html_url":"https://github.com/JoelKatz","followers_url":"https://api.github.com/users/JoelKatz/followers","following_url":"https://api.github.com/users/JoelKatz/following{/other_user}","gists_url":"https://api.github.com/users/JoelKatz/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelKatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelKatz/subscriptions","organizations_url":"https://api.github.com/users/JoelKatz/orgs","repos_url":"https://api.github.com/users/JoelKatz/repos","events_url":"https://api.github.com/users/JoelKatz/events{/privacy}","received_events_url":"https://api.github.com/users/JoelKatz/received_events","type":"User","site_admin":false},{"login":"wilsonianb","id":5885521,"avatar_url":"https://avatars.githubusercontent.com/u/5885521?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonianb","html_url":"https://github.com/wilsonianb","followers_url":"https://api.github.com/users/wilsonianb/followers","following_url":"https://api.github.com/users/wilsonianb/following{/other_user}","gists_url":"https://api.github.com/users/wilsonianb/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonianb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonianb/subscriptions","organizations_url":"https://api.github.com/users/wilsonianb/orgs","repos_url":"https://api.github.com/users/wilsonianb/repos","events_url":"https://api.github.com/users/wilsonianb/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonianb/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/vinniefalco/Beast/pulls/146/commits","review_comments_url":"https://api.github.com/repos/vinniefalco/Beast/pulls/146/comments","review_comment_url":"https://api.github.com/repos/vinniefalco/Beast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vinniefalco/Beast/issues/146/comments","statuses_url":"https://api.github.com/repos/vinniefalco/Beast/statuses/990846ed0ee1e6448fb9511f74ddbf9acbc41269","head":{"label":"vinniefalco:develop","ref":"develop","sha":"990846ed0ee1e6448fb9511f74ddbf9acbc41269","user":{"login":"vinniefalco","id":1503976,"avatar_url":"https://avatars.githubusercontent.com/u/1503976?v=3","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},"repo":{"id":10726510,"name":"Beast","full_name":"vinniefalco/Beast","owner":{"login":"vinniefalco","id":1503976,"avatar_url":"https://avatars.githubusercontent.com/u/1503976?v=3","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},"private":false,"html_url":"https://github.com/vinniefalco/Beast","description":"HTTP and WebSocket implementations built on Boost.Asio in C++11","fork":false,"url":"https://api.github.com/repos/vinniefalco/Beast","forks_url":"https://api.github.com/repos/vinniefalco/Beast/forks","keys_url":"https://api.github.com/repos/vinniefalco/Beast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vinniefalco/Beast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vinniefalco/Beast/teams","hooks_url":"https://api.github.com/repos/vinniefalco/Beast/hooks","issue_events_url":"https://api.github.com/repos/vinniefalco/Beast/issues/events{/number}","events_url":"https://api.github.com/repos/vinniefalco/Beast/events","assignees_url":"https://api.github.com/repos/vinniefalco/Beast/assignees{/user}","branches_url":"https://api.github.com/repos/vinniefalco/Beast/branches{/branch}","tags_url":"https://api.github.com/repos/vinniefalco/Beast/tags","blobs_url":"https://api.github.com/repos/vinniefalco/Beast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vinniefalco/Beast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vinniefalco/Beast/git/refs{/sha}","trees_url":"https://api.github.com/repos/vinniefalco/Beast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vinniefalco/Beast/statuses/{sha}","languages_url":"https://api.github.com/repos/vinniefalco/Beast/languages","stargazers_url":"https://api.github.com/repos/vinniefalco/Beast/stargazers","contributors_url":"https://api.github.com/repos/vinniefalco/Beast/contributors","subscribers_url":"https://api.github.com/repos/vinniefalco/Beast/subscribers","subscription_url":"https://api.github.com/repos/vinniefalco/Beast/subscription","commits_url":"https://api.github.com/repos/vinniefalco/Beast/commits{/sha}","git_commits_url":"https://api.github.com/repos/vinniefalco/Beast/git/commits{/sha}","comments_url":"https://api.github.com/repos/vinniefalco/Beast/comments{/number}","issue_comment_url":"https://api.github.com/repos/vinniefalco/Beast/issues/comments{/number}","contents_url":"https://api.github.com/repos/vinniefalco/Beast/contents/{+path}","compare_url":"https://api.github.com/repos/vinniefalco/Beast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vinniefalco/Beast/merges","archive_url":"https://api.github.com/repos/vinniefalco/Beast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vinniefalco/Beast/downloads","issues_url":"https://api.github.com/repos/vinniefalco/Beast/issues{/number}","pulls_url":"https://api.github.com/repos/vinniefalco/Beast/pulls{/number}","milestones_url":"https://api.github.com/repos/vinniefalco/Beast/milestones{/number}","notifications_url":"https://api.github.com/repos/vinniefalco/Beast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vinniefalco/Beast/labels{/name}","releases_url":"https://api.github.com/repos/vinniefalco/Beast/releases{/id}","deployments_url":"https://api.github.com/repos/vinniefalco/Beast/deployments","created_at":"2013-06-16T22:26:09Z","updated_at":"2016-10-17T18:20:37Z","pushed_at":"2016-10-18T12:03:20Z","git_url":"git://github.com/vinniefalco/Beast.git","ssh_url":"git@github.com:vinniefalco/Beast.git","clone_url":"https://github.com/vinniefalco/Beast.git","svn_url":"https://github.com/vinniefalco/Beast","homepage":"http://vinniefalco.github.io/","size":42105,"stargazers_count":177,"watchers_count":177,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":46,"forks":36,"open_issues":46,"watchers":177,"default_branch":"master"}},"base":{"label":"vinniefalco:master","ref":"master","sha":"01f939d68e2f6c21d41bfe5b787fbf586cdfc064","user":{"login":"vinniefalco","id":1503976,"avatar_url":"https://avatars.githubusercontent.com/u/1503976?v=3","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},"repo":{"id":10726510,"name":"Beast","full_name":"vinniefalco/Beast","owner":{"login":"vinniefalco","id":1503976,"avatar_url":"https://avatars.githubusercontent.com/u/1503976?v=3","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},"private":false,"html_url":"https://github.com/vinniefalco/Beast","description":"HTTP and WebSocket implementations built on Boost.Asio in C++11","fork":false,"url":"https://api.github.com/repos/vinniefalco/Beast","forks_url":"https://api.github.com/repos/vinniefalco/Beast/forks","keys_url":"https://api.github.com/repos/vinniefalco/Beast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vinniefalco/Beast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vinniefalco/Beast/teams","hooks_url":"https://api.github.com/repos/vinniefalco/Beast/hooks","issue_events_url":"https://api.github.com/repos/vinniefalco/Beast/issues/events{/number}","events_url":"https://api.github.com/repos/vinniefalco/Beast/events","assignees_url":"https://api.github.com/repos/vinniefalco/Beast/assignees{/user}","branches_url":"https://api.github.com/repos/vinniefalco/Beast/branches{/branch}","tags_url":"https://api.github.com/repos/vinniefalco/Beast/tags","blobs_url":"https://api.github.com/repos/vinniefalco/Beast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vinniefalco/Beast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vinniefalco/Beast/git/refs{/sha}","trees_url":"https://api.github.com/repos/vinniefalco/Beast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vinniefalco/Beast/statuses/{sha}","languages_url":"https://api.github.com/repos/vinniefalco/Beast/languages","stargazers_url":"https://api.github.com/repos/vinniefalco/Beast/stargazers","contributors_url":"https://api.github.com/repos/vinniefalco/Beast/contributors","subscribers_url":"https://api.github.com/repos/vinniefalco/Beast/subscribers","subscription_url":"https://api.github.com/repos/vinniefalco/Beast/subscription","commits_url":"https://api.github.com/repos/vinniefalco/Beast/commits{/sha}","git_commits_url":"https://api.github.com/repos/vinniefalco/Beast/git/commits{/sha}","comments_url":"https://api.github.com/repos/vinniefalco/Beast/comments{/number}","issue_comment_url":"https://api.github.com/repos/vinniefalco/Beast/issues/comments{/number}","contents_url":"https://api.github.com/repos/vinniefalco/Beast/contents/{+path}","compare_url":"https://api.github.com/repos/vinniefalco/Beast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vinniefalco/Beast/merges","archive_url":"https://api.github.com/repos/vinniefalco/Beast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vinniefalco/Beast/downloads","issues_url":"https://api.github.com/repos/vinniefalco/Beast/issues{/number}","pulls_url":"https://api.github.com/repos/vinniefalco/Beast/pulls{/number}","milestones_url":"https://api.github.com/repos/vinniefalco/Beast/milestones{/number}","notifications_url":"https://api.github.com/repos/vinniefalco/Beast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vinniefalco/Beast/labels{/name}","releases_url":"https://api.github.com/repos/vinniefalco/Beast/releases{/id}","deployments_url":"https://api.github.com/repos/vinniefalco/Beast/deployments","created_at":"2013-06-16T22:26:09Z","updated_at":"2016-10-17T18:20:37Z","pushed_at":"2016-10-18T12:03:20Z","git_url":"git://github.com/vinniefalco/Beast.git","ssh_url":"git@github.com:vinniefalco/Beast.git","clone_url":"https://github.com/vinniefalco/Beast.git","svn_url":"https://github.com/vinniefalco/Beast","homepage":"http://vinniefalco.github.io/","size":42105,"stargazers_count":177,"watchers_count":177,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":46,"forks":36,"open_issues":46,"watchers":177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vinniefalco/Beast/pulls/146"},"html":{"href":"https://github.com/vinniefalco/Beast/pull/146"},"issue":{"href":"https://api.github.com/repos/vinniefalco/Beast/issues/146"},"comments":{"href":"https://api.github.com/repos/vinniefalco/Beast/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/vinniefalco/Beast/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/vinniefalco/Beast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vinniefalco/Beast/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/vinniefalco/Beast/statuses/990846ed0ee1e6448fb9511f74ddbf9acbc41269"}}}}
{"actor":{"display_login":"bachase"}}