{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/3472","repository_url":"https://api.github.com/repos/hapijs/hapi","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/3472/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/3472/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/3472/events","html_url":"https://github.com/hapijs/hapi/pull/3472","id":220945260,"node_id":"MDExOlB1bGxSZXF1ZXN0MTE1MzE1NjI3","number":3472,"title":"Send connection close when there is unconsumed payload","user":{"login":"kanongil","id":753512,"node_id":"MDQ6VXNlcjc1MzUxMg==","avatar_url":"https://avatars0.githubusercontent.com/u/753512?v=4","gravatar_id":"","url":"https://api.github.com/users/kanongil","html_url":"https://github.com/kanongil","followers_url":"https://api.github.com/users/kanongil/followers","following_url":"https://api.github.com/users/kanongil/following{/other_user}","gists_url":"https://api.github.com/users/kanongil/gists{/gist_id}","starred_url":"https://api.github.com/users/kanongil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanongil/subscriptions","organizations_url":"https://api.github.com/users/kanongil/orgs","repos_url":"https://api.github.com/users/kanongil/repos","events_url":"https://api.github.com/users/kanongil/events{/privacy}","received_events_url":"https://api.github.com/users/kanongil/received_events","type":"User","site_admin":false},"labels":[{"id":15699317,"node_id":"MDU6TGFiZWwxNTY5OTMxNw==","url":"https://api.github.com/repos/hapijs/hapi/labels/feature","name":"feature","color":"207de5","default":false,"description":"New functionality or improvement"}],"state":"closed","locked":false,"assignee":{"login":"hueniverse","id":56631,"node_id":"MDQ6VXNlcjU2NjMx","avatar_url":"https://avatars2.githubusercontent.com/u/56631?v=4","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},"assignees":[{"login":"hueniverse","id":56631,"node_id":"MDQ6VXNlcjU2NjMx","avatar_url":"https://avatars2.githubusercontent.com/u/56631?v=4","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}],"milestone":{"url":"https://api.github.com/repos/hapijs/hapi/milestones/210","html_url":"https://github.com/hapijs/hapi/milestone/210","labels_url":"https://api.github.com/repos/hapijs/hapi/milestones/210/labels","id":2547255,"node_id":"MDk6TWlsZXN0b25lMjU0NzI1NQ==","number":210,"title":"16.2.0","description":"","creator":{"login":"hueniverse","id":56631,"node_id":"MDQ6VXNlcjU2NjMx","avatar_url":"https://avatars2.githubusercontent.com/u/56631?v=4","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":23,"state":"closed","created_at":"2017-05-28T22:49:07Z","updated_at":"2017-05-29T09:42:01Z","due_on":null,"closed_at":"2017-05-29T09:42:01Z"},"comments":1,"created_at":"2017-04-11T13:06:16Z","updated_at":"2020-01-09T07:56:43Z","closed_at":"2017-05-29T09:38:47Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/hapijs/hapi/pulls/3472","html_url":"https://github.com/hapijs/hapi/pull/3472","diff_url":"https://github.com/hapijs/hapi/pull/3472.diff","patch_url":"https://github.com/hapijs/hapi/pull/3472.patch"},"body":"With `payload.output === 'stream'`, there is no guarantee or requirement that the user consumes the incoming payload. When a response is sent with an unconsumed payload, the connection needs to be closed to signal that the payload has been discarded. This is best done by adding the `connection: close` header to the response.\r\n\r\nNote that node.js clients might not actually be able to handle such a response right now, due to https://github.com/nodejs/node/issues/12339."},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/572438027","html_url":"https://github.com/hapijs/hapi/pull/3472#issuecomment-572438027","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/3472","id":572438027,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MjQzODAyNw==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2020-01-09T07:56:43Z","updated_at":"2020-01-09T07:56:43Z","author_association":"NONE","body":"This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions."}}
{"actor":{"display_login":"lock"}}