{"action":"created","comment":{"url":"https://api.github.com/repos/hapijs/subtext/pulls/comments/44861218","id":44861218,"diff_hunk":"@@ -314,6 +320,15 @@ internals.Parser.prototype.multipart = function (source, contentType) {\n         return next();\n     };\n \n+    if (clientTimeout &&\n+        clientTimeout > 0) {\n+\n+        clientTimeoutId = setTimeout(() => {\n+\n+            return next(Boom.clientTimeout());\n+        }, clientTimeout);","path":"lib/index.js","position":30,"original_position":30,"commit_id":"df8086d0ff8d272da556430e8ebe715c1245d89b","original_commit_id":"df8086d0ff8d272da556430e8ebe715c1245d89b","user":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"body":"Better written as `clientTimeoutId = setTimeout(() => next(Boom.clientTimeout(), clientTimeout);` on a single line.","created_at":"2015-11-14T17:24:13Z","updated_at":"2015-11-14T17:24:13Z","html_url":"https://github.com/hapijs/subtext/pull/23#discussion_r44861218","pull_request_url":"https://api.github.com/repos/hapijs/subtext/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/hapijs/subtext/pulls/comments/44861218"},"html":{"href":"https://github.com/hapijs/subtext/pull/23#discussion_r44861218"},"pull_request":{"href":"https://api.github.com/repos/hapijs/subtext/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/hapijs/subtext/pulls/23","id":50723631,"html_url":"https://github.com/hapijs/subtext/pull/23","diff_url":"https://github.com/hapijs/subtext/pull/23.diff","patch_url":"https://github.com/hapijs/subtext/pull/23.patch","issue_url":"https://api.github.com/repos/hapijs/subtext/issues/23","number":23,"state":"closed","locked":false,"title":"Fix timeouts for multipart payloads","user":{"login":"johnbrett","id":4015939,"avatar_url":"https://avatars.githubusercontent.com/u/4015939?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbrett","html_url":"https://github.com/johnbrett","followers_url":"https://api.github.com/users/johnbrett/followers","following_url":"https://api.github.com/users/johnbrett/following{/other_user}","gists_url":"https://api.github.com/users/johnbrett/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbrett/subscriptions","organizations_url":"https://api.github.com/users/johnbrett/orgs","repos_url":"https://api.github.com/users/johnbrett/repos","events_url":"https://api.github.com/users/johnbrett/events{/privacy}","received_events_url":"https://api.github.com/users/johnbrett/received_events","type":"User","site_admin":false},"body":"This PR contains a fix for multipart payload timeouts which fixes https://github.com/hapijs/subtext/issues/19","created_at":"2015-11-14T13:32:18Z","updated_at":"2015-11-14T17:24:13Z","closed_at":"2015-11-14T13:52:01Z","merged_at":"2015-11-14T13:52:01Z","merge_commit_sha":"6c3d97a41e37822364f051d7113a1a6a7e4726a2","assignee":{"login":"johnbrett","id":4015939,"avatar_url":"https://avatars.githubusercontent.com/u/4015939?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbrett","html_url":"https://github.com/johnbrett","followers_url":"https://api.github.com/users/johnbrett/followers","following_url":"https://api.github.com/users/johnbrett/following{/other_user}","gists_url":"https://api.github.com/users/johnbrett/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbrett/subscriptions","organizations_url":"https://api.github.com/users/johnbrett/orgs","repos_url":"https://api.github.com/users/johnbrett/repos","events_url":"https://api.github.com/users/johnbrett/events{/privacy}","received_events_url":"https://api.github.com/users/johnbrett/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hapijs/subtext/milestones/9","html_url":"https://github.com/hapijs/subtext/milestones/3.0.1","labels_url":"https://api.github.com/repos/hapijs/subtext/milestones/9/labels","id":1390399,"number":9,"title":"3.0.1","description":"","creator":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"closed","created_at":"2015-11-03T03:35:44Z","updated_at":"2015-11-14T14:01:57Z","due_on":null,"closed_at":"2015-11-14T14:01:42Z"},"commits_url":"https://api.github.com/repos/hapijs/subtext/pulls/23/commits","review_comments_url":"https://api.github.com/repos/hapijs/subtext/pulls/23/comments","review_comment_url":"https://api.github.com/repos/hapijs/subtext/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hapijs/subtext/issues/23/comments","statuses_url":"https://api.github.com/repos/hapijs/subtext/statuses/df8086d0ff8d272da556430e8ebe715c1245d89b","head":{"label":"hapijs:issue-payload-timeout","ref":"issue-payload-timeout","sha":"df8086d0ff8d272da556430e8ebe715c1245d89b","user":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"repo":{"id":24575414,"name":"subtext","full_name":"hapijs/subtext","owner":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hapijs/subtext","description":"HTTP payload parser","fork":false,"url":"https://api.github.com/repos/hapijs/subtext","forks_url":"https://api.github.com/repos/hapijs/subtext/forks","keys_url":"https://api.github.com/repos/hapijs/subtext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hapijs/subtext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hapijs/subtext/teams","hooks_url":"https://api.github.com/repos/hapijs/subtext/hooks","issue_events_url":"https://api.github.com/repos/hapijs/subtext/issues/events{/number}","events_url":"https://api.github.com/repos/hapijs/subtext/events","assignees_url":"https://api.github.com/repos/hapijs/subtext/assignees{/user}","branches_url":"https://api.github.com/repos/hapijs/subtext/branches{/branch}","tags_url":"https://api.github.com/repos/hapijs/subtext/tags","blobs_url":"https://api.github.com/repos/hapijs/subtext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hapijs/subtext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hapijs/subtext/git/refs{/sha}","trees_url":"https://api.github.com/repos/hapijs/subtext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hapijs/subtext/statuses/{sha}","languages_url":"https://api.github.com/repos/hapijs/subtext/languages","stargazers_url":"https://api.github.com/repos/hapijs/subtext/stargazers","contributors_url":"https://api.github.com/repos/hapijs/subtext/contributors","subscribers_url":"https://api.github.com/repos/hapijs/subtext/subscribers","subscription_url":"https://api.github.com/repos/hapijs/subtext/subscription","commits_url":"https://api.github.com/repos/hapijs/subtext/commits{/sha}","git_commits_url":"https://api.github.com/repos/hapijs/subtext/git/commits{/sha}","comments_url":"https://api.github.com/repos/hapijs/subtext/comments{/number}","issue_comment_url":"https://api.github.com/repos/hapijs/subtext/issues/comments{/number}","contents_url":"https://api.github.com/repos/hapijs/subtext/contents/{+path}","compare_url":"https://api.github.com/repos/hapijs/subtext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hapijs/subtext/merges","archive_url":"https://api.github.com/repos/hapijs/subtext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hapijs/subtext/downloads","issues_url":"https://api.github.com/repos/hapijs/subtext/issues{/number}","pulls_url":"https://api.github.com/repos/hapijs/subtext/pulls{/number}","milestones_url":"https://api.github.com/repos/hapijs/subtext/milestones{/number}","notifications_url":"https://api.github.com/repos/hapijs/subtext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hapijs/subtext/labels{/name}","releases_url":"https://api.github.com/repos/hapijs/subtext/releases{/id}","created_at":"2014-09-29T01:28:30Z","updated_at":"2015-10-12T11:22:32Z","pushed_at":"2015-11-14T17:19:42Z","git_url":"git://github.com/hapijs/subtext.git","ssh_url":"git@github.com:hapijs/subtext.git","clone_url":"https://github.com/hapijs/subtext.git","svn_url":"https://github.com/hapijs/subtext","homepage":"","size":537,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":0,"forks":10,"open_issues":0,"watchers":6,"default_branch":"master"}},"base":{"label":"hapijs:master","ref":"master","sha":"728d5edc8d462d43adbf88b96a30285646e19e06","user":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"repo":{"id":24575414,"name":"subtext","full_name":"hapijs/subtext","owner":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hapijs/subtext","description":"HTTP payload parser","fork":false,"url":"https://api.github.com/repos/hapijs/subtext","forks_url":"https://api.github.com/repos/hapijs/subtext/forks","keys_url":"https://api.github.com/repos/hapijs/subtext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hapijs/subtext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hapijs/subtext/teams","hooks_url":"https://api.github.com/repos/hapijs/subtext/hooks","issue_events_url":"https://api.github.com/repos/hapijs/subtext/issues/events{/number}","events_url":"https://api.github.com/repos/hapijs/subtext/events","assignees_url":"https://api.github.com/repos/hapijs/subtext/assignees{/user}","branches_url":"https://api.github.com/repos/hapijs/subtext/branches{/branch}","tags_url":"https://api.github.com/repos/hapijs/subtext/tags","blobs_url":"https://api.github.com/repos/hapijs/subtext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hapijs/subtext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hapijs/subtext/git/refs{/sha}","trees_url":"https://api.github.com/repos/hapijs/subtext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hapijs/subtext/statuses/{sha}","languages_url":"https://api.github.com/repos/hapijs/subtext/languages","stargazers_url":"https://api.github.com/repos/hapijs/subtext/stargazers","contributors_url":"https://api.github.com/repos/hapijs/subtext/contributors","subscribers_url":"https://api.github.com/repos/hapijs/subtext/subscribers","subscription_url":"https://api.github.com/repos/hapijs/subtext/subscription","commits_url":"https://api.github.com/repos/hapijs/subtext/commits{/sha}","git_commits_url":"https://api.github.com/repos/hapijs/subtext/git/commits{/sha}","comments_url":"https://api.github.com/repos/hapijs/subtext/comments{/number}","issue_comment_url":"https://api.github.com/repos/hapijs/subtext/issues/comments{/number}","contents_url":"https://api.github.com/repos/hapijs/subtext/contents/{+path}","compare_url":"https://api.github.com/repos/hapijs/subtext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hapijs/subtext/merges","archive_url":"https://api.github.com/repos/hapijs/subtext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hapijs/subtext/downloads","issues_url":"https://api.github.com/repos/hapijs/subtext/issues{/number}","pulls_url":"https://api.github.com/repos/hapijs/subtext/pulls{/number}","milestones_url":"https://api.github.com/repos/hapijs/subtext/milestones{/number}","notifications_url":"https://api.github.com/repos/hapijs/subtext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hapijs/subtext/labels{/name}","releases_url":"https://api.github.com/repos/hapijs/subtext/releases{/id}","created_at":"2014-09-29T01:28:30Z","updated_at":"2015-10-12T11:22:32Z","pushed_at":"2015-11-14T17:19:42Z","git_url":"git://github.com/hapijs/subtext.git","ssh_url":"git@github.com:hapijs/subtext.git","clone_url":"https://github.com/hapijs/subtext.git","svn_url":"https://github.com/hapijs/subtext","homepage":"","size":537,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":0,"forks":10,"open_issues":0,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hapijs/subtext/pulls/23"},"html":{"href":"https://github.com/hapijs/subtext/pull/23"},"issue":{"href":"https://api.github.com/repos/hapijs/subtext/issues/23"},"comments":{"href":"https://api.github.com/repos/hapijs/subtext/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/hapijs/subtext/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/hapijs/subtext/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hapijs/subtext/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/hapijs/subtext/statuses/df8086d0ff8d272da556430e8ebe715c1245d89b"}}}}