{"action":"created","comment":{"url":"https://api.github.com/repos/nodejs/http-parser/pulls/comments/54327325","id":54327325,"diff_hunk":"@@ -81,6 +107,17 @@ do {                                                                 \\\n do {                                                                 \\\n   assert(HTTP_PARSER_ERRNO(parser) == HPE_OK);                       \\\n                                                                      \\\n+  if (e_on_##FOR == e_on_message_complete) {                         \\\n+     if ((HTTP_PARSER_ERRNO(parser) == HPE_OK) &&                    \\\n+         (settings->on_body_raw) &&                                  \\\n+         (p >= raw_mark) &&                                          \\","path":"http_parser.c","position":45,"original_position":45,"commit_id":"0d34b0569e42f0008fa777f0ebbe594b3de26085","original_commit_id":"0d34b0569e42f0008fa777f0ebbe594b3de26085","user":{"login":"indutny","id":238531,"avatar_url":"https://avatars.githubusercontent.com/u/238531?v=3","gravatar_id":"","url":"https://api.github.com/users/indutny","html_url":"https://github.com/indutny","followers_url":"https://api.github.com/users/indutny/followers","following_url":"https://api.github.com/users/indutny/following{/other_user}","gists_url":"https://api.github.com/users/indutny/gists{/gist_id}","starred_url":"https://api.github.com/users/indutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indutny/subscriptions","organizations_url":"https://api.github.com/users/indutny/orgs","repos_url":"https://api.github.com/users/indutny/repos","events_url":"https://api.github.com/users/indutny/events{/privacy}","received_events_url":"https://api.github.com/users/indutny/received_events","type":"User","site_admin":false},"body":"No need in extra parens for every subcondition.","created_at":"2016-02-27T03:39:26Z","updated_at":"2016-02-27T03:39:26Z","html_url":"https://github.com/nodejs/http-parser/pull/285#discussion_r54327325","pull_request_url":"https://api.github.com/repos/nodejs/http-parser/pulls/285","_links":{"self":{"href":"https://api.github.com/repos/nodejs/http-parser/pulls/comments/54327325"},"html":{"href":"https://github.com/nodejs/http-parser/pull/285#discussion_r54327325"},"pull_request":{"href":"https://api.github.com/repos/nodejs/http-parser/pulls/285"}}},"pull_request":{"url":"https://api.github.com/repos/nodejs/http-parser/pulls/285","id":60039222,"html_url":"https://github.com/nodejs/http-parser/pull/285","diff_url":"https://github.com/nodejs/http-parser/pull/285.diff","patch_url":"https://github.com/nodejs/http-parser/pull/285.patch","issue_url":"https://api.github.com/repos/nodejs/http-parser/issues/285","number":285,"state":"open","locked":false,"title":"Introduce raw data callbacks","user":{"login":"RandoMan70","id":11642361,"avatar_url":"https://avatars.githubusercontent.com/u/11642361?v=3","gravatar_id":"","url":"https://api.github.com/users/RandoMan70","html_url":"https://github.com/RandoMan70","followers_url":"https://api.github.com/users/RandoMan70/followers","following_url":"https://api.github.com/users/RandoMan70/following{/other_user}","gists_url":"https://api.github.com/users/RandoMan70/gists{/gist_id}","starred_url":"https://api.github.com/users/RandoMan70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandoMan70/subscriptions","organizations_url":"https://api.github.com/users/RandoMan70/orgs","repos_url":"https://api.github.com/users/RandoMan70/repos","events_url":"https://api.github.com/users/RandoMan70/events{/privacy}","received_events_url":"https://api.github.com/users/RandoMan70/received_events","type":"User","site_admin":false},"body":"These callbacks can be used when developing transparent HTTP traffic analysis and filtering. \r\nThe main goal of it is to handle transmitted data as-is, but having ability to distinguish data between headers, bodies and different requests.","created_at":"2016-02-20T06:00:35Z","updated_at":"2016-02-27T03:39:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e287e69317cb4a3c49941830b3d43a3b3d2c21a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/http-parser/pulls/285/commits","review_comments_url":"https://api.github.com/repos/nodejs/http-parser/pulls/285/comments","review_comment_url":"https://api.github.com/repos/nodejs/http-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/http-parser/issues/285/comments","statuses_url":"https://api.github.com/repos/nodejs/http-parser/statuses/0d34b0569e42f0008fa777f0ebbe594b3de26085","head":{"label":"RandoMan70:master","ref":"master","sha":"0d34b0569e42f0008fa777f0ebbe594b3de26085","user":{"login":"RandoMan70","id":11642361,"avatar_url":"https://avatars.githubusercontent.com/u/11642361?v=3","gravatar_id":"","url":"https://api.github.com/users/RandoMan70","html_url":"https://github.com/RandoMan70","followers_url":"https://api.github.com/users/RandoMan70/followers","following_url":"https://api.github.com/users/RandoMan70/following{/other_user}","gists_url":"https://api.github.com/users/RandoMan70/gists{/gist_id}","starred_url":"https://api.github.com/users/RandoMan70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandoMan70/subscriptions","organizations_url":"https://api.github.com/users/RandoMan70/orgs","repos_url":"https://api.github.com/users/RandoMan70/repos","events_url":"https://api.github.com/users/RandoMan70/events{/privacy}","received_events_url":"https://api.github.com/users/RandoMan70/received_events","type":"User","site_admin":false},"repo":{"id":52138999,"name":"http-parser","full_name":"RandoMan70/http-parser","owner":{"login":"RandoMan70","id":11642361,"avatar_url":"https://avatars.githubusercontent.com/u/11642361?v=3","gravatar_id":"","url":"https://api.github.com/users/RandoMan70","html_url":"https://github.com/RandoMan70","followers_url":"https://api.github.com/users/RandoMan70/followers","following_url":"https://api.github.com/users/RandoMan70/following{/other_user}","gists_url":"https://api.github.com/users/RandoMan70/gists{/gist_id}","starred_url":"https://api.github.com/users/RandoMan70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandoMan70/subscriptions","organizations_url":"https://api.github.com/users/RandoMan70/orgs","repos_url":"https://api.github.com/users/RandoMan70/repos","events_url":"https://api.github.com/users/RandoMan70/events{/privacy}","received_events_url":"https://api.github.com/users/RandoMan70/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RandoMan70/http-parser","description":"http request/response parser for c","fork":true,"url":"https://api.github.com/repos/RandoMan70/http-parser","forks_url":"https://api.github.com/repos/RandoMan70/http-parser/forks","keys_url":"https://api.github.com/repos/RandoMan70/http-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RandoMan70/http-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RandoMan70/http-parser/teams","hooks_url":"https://api.github.com/repos/RandoMan70/http-parser/hooks","issue_events_url":"https://api.github.com/repos/RandoMan70/http-parser/issues/events{/number}","events_url":"https://api.github.com/repos/RandoMan70/http-parser/events","assignees_url":"https://api.github.com/repos/RandoMan70/http-parser/assignees{/user}","branches_url":"https://api.github.com/repos/RandoMan70/http-parser/branches{/branch}","tags_url":"https://api.github.com/repos/RandoMan70/http-parser/tags","blobs_url":"https://api.github.com/repos/RandoMan70/http-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RandoMan70/http-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RandoMan70/http-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/RandoMan70/http-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RandoMan70/http-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/RandoMan70/http-parser/languages","stargazers_url":"https://api.github.com/repos/RandoMan70/http-parser/stargazers","contributors_url":"https://api.github.com/repos/RandoMan70/http-parser/contributors","subscribers_url":"https://api.github.com/repos/RandoMan70/http-parser/subscribers","subscription_url":"https://api.github.com/repos/RandoMan70/http-parser/subscription","commits_url":"https://api.github.com/repos/RandoMan70/http-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/RandoMan70/http-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/RandoMan70/http-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/RandoMan70/http-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/RandoMan70/http-parser/contents/{+path}","compare_url":"https://api.github.com/repos/RandoMan70/http-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RandoMan70/http-parser/merges","archive_url":"https://api.github.com/repos/RandoMan70/http-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RandoMan70/http-parser/downloads","issues_url":"https://api.github.com/repos/RandoMan70/http-parser/issues{/number}","pulls_url":"https://api.github.com/repos/RandoMan70/http-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/RandoMan70/http-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/RandoMan70/http-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RandoMan70/http-parser/labels{/name}","releases_url":"https://api.github.com/repos/RandoMan70/http-parser/releases{/id}","deployments_url":"https://api.github.com/repos/RandoMan70/http-parser/deployments","created_at":"2016-02-20T05:48:29Z","updated_at":"2016-02-20T05:48:30Z","pushed_at":"2016-02-20T16:34:32Z","git_url":"git://github.com/RandoMan70/http-parser.git","ssh_url":"git@github.com:RandoMan70/http-parser.git","clone_url":"https://github.com/RandoMan70/http-parser.git","svn_url":"https://github.com/RandoMan70/http-parser","homepage":"","size":637,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nodejs:master","ref":"master","sha":"678a9e21f11e5ea93e5e17a2302390f88a6a8c46","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":186749,"name":"http-parser","full_name":"nodejs/http-parser","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/http-parser","description":"http request/response parser for c","fork":false,"url":"https://api.github.com/repos/nodejs/http-parser","forks_url":"https://api.github.com/repos/nodejs/http-parser/forks","keys_url":"https://api.github.com/repos/nodejs/http-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/http-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/http-parser/teams","hooks_url":"https://api.github.com/repos/nodejs/http-parser/hooks","issue_events_url":"https://api.github.com/repos/nodejs/http-parser/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/http-parser/events","assignees_url":"https://api.github.com/repos/nodejs/http-parser/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/http-parser/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/http-parser/tags","blobs_url":"https://api.github.com/repos/nodejs/http-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/http-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/http-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/http-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/http-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/http-parser/languages","stargazers_url":"https://api.github.com/repos/nodejs/http-parser/stargazers","contributors_url":"https://api.github.com/repos/nodejs/http-parser/contributors","subscribers_url":"https://api.github.com/repos/nodejs/http-parser/subscribers","subscription_url":"https://api.github.com/repos/nodejs/http-parser/subscription","commits_url":"https://api.github.com/repos/nodejs/http-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/http-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/http-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/http-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/http-parser/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/http-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/http-parser/merges","archive_url":"https://api.github.com/repos/nodejs/http-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/http-parser/downloads","issues_url":"https://api.github.com/repos/nodejs/http-parser/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/http-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/http-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/http-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/http-parser/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/http-parser/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/http-parser/deployments","created_at":"2009-04-27T15:09:51Z","updated_at":"2016-02-26T04:17:52Z","pushed_at":"2016-02-27T03:35:40Z","git_url":"git://github.com/nodejs/http-parser.git","ssh_url":"git@github.com:nodejs/http-parser.git","clone_url":"https://github.com/nodejs/http-parser.git","svn_url":"https://github.com/nodejs/http-parser","homepage":"","size":1205,"stargazers_count":2530,"watchers_count":2530,"language":"C","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":659,"mirror_url":null,"open_issues_count":22,"forks":659,"open_issues":22,"watchers":2530,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/http-parser/pulls/285"},"html":{"href":"https://github.com/nodejs/http-parser/pull/285"},"issue":{"href":"https://api.github.com/repos/nodejs/http-parser/issues/285"},"comments":{"href":"https://api.github.com/repos/nodejs/http-parser/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/http-parser/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/http-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/http-parser/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/http-parser/statuses/0d34b0569e42f0008fa777f0ebbe594b3de26085"}}}}