{"action":"closed","issue":{"url":"https://api.github.com/repos/vapor/vapor/issues/1787","repository_url":"https://api.github.com/repos/vapor/vapor","labels_url":"https://api.github.com/repos/vapor/vapor/issues/1787/labels{/name}","comments_url":"https://api.github.com/repos/vapor/vapor/issues/1787/comments","events_url":"https://api.github.com/repos/vapor/vapor/issues/1787/events","html_url":"https://github.com/vapor/vapor/issues/1787","id":350956348,"node_id":"MDU6SXNzdWUzNTA5NTYzNDg=","number":1787,"title":"throwing HTTPResponseStatus.noContent does not close connection.","user":{"login":"Antonasg","id":1011923,"node_id":"MDQ6VXNlcjEwMTE5MjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1011923?v=4","gravatar_id":"","url":"https://api.github.com/users/Antonasg","html_url":"https://github.com/Antonasg","followers_url":"https://api.github.com/users/Antonasg/followers","following_url":"https://api.github.com/users/Antonasg/following{/other_user}","gists_url":"https://api.github.com/users/Antonasg/gists{/gist_id}","starred_url":"https://api.github.com/users/Antonasg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antonasg/subscriptions","organizations_url":"https://api.github.com/users/Antonasg/orgs","repos_url":"https://api.github.com/users/Antonasg/repos","events_url":"https://api.github.com/users/Antonasg/events{/privacy}","received_events_url":"https://api.github.com/users/Antonasg/received_events","type":"User","site_admin":false},"labels":[{"id":313173958,"node_id":"MDU6TGFiZWwzMTMxNzM5NTg=","url":"https://api.github.com/repos/vapor/vapor/labels/bug","name":"bug","color":"d93f0b","default":true}],"state":"closed","locked":false,"assignee":{"login":"tanner0101","id":1342803,"node_id":"MDQ6VXNlcjEzNDI4MDM=","avatar_url":"https://avatars2.githubusercontent.com/u/1342803?v=4","gravatar_id":"","url":"https://api.github.com/users/tanner0101","html_url":"https://github.com/tanner0101","followers_url":"https://api.github.com/users/tanner0101/followers","following_url":"https://api.github.com/users/tanner0101/following{/other_user}","gists_url":"https://api.github.com/users/tanner0101/gists{/gist_id}","starred_url":"https://api.github.com/users/tanner0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanner0101/subscriptions","organizations_url":"https://api.github.com/users/tanner0101/orgs","repos_url":"https://api.github.com/users/tanner0101/repos","events_url":"https://api.github.com/users/tanner0101/events{/privacy}","received_events_url":"https://api.github.com/users/tanner0101/received_events","type":"User","site_admin":false},"assignees":[{"login":"tanner0101","id":1342803,"node_id":"MDQ6VXNlcjEzNDI4MDM=","avatar_url":"https://avatars2.githubusercontent.com/u/1342803?v=4","gravatar_id":"","url":"https://api.github.com/users/tanner0101","html_url":"https://github.com/tanner0101","followers_url":"https://api.github.com/users/tanner0101/followers","following_url":"https://api.github.com/users/tanner0101/following{/other_user}","gists_url":"https://api.github.com/users/tanner0101/gists{/gist_id}","starred_url":"https://api.github.com/users/tanner0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanner0101/subscriptions","organizations_url":"https://api.github.com/users/tanner0101/orgs","repos_url":"https://api.github.com/users/tanner0101/repos","events_url":"https://api.github.com/users/tanner0101/events{/privacy}","received_events_url":"https://api.github.com/users/tanner0101/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/vapor/vapor/milestones/60","html_url":"https://github.com/vapor/vapor/milestone/60","labels_url":"https://api.github.com/repos/vapor/vapor/milestones/60/labels","id":3061652,"node_id":"MDk6TWlsZXN0b25lMzA2MTY1Mg==","number":60,"title":"3.1.0","description":null,"creator":{"login":"Joannis","id":1951674,"node_id":"MDQ6VXNlcjE5NTE2NzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1951674?v=4","gravatar_id":"","url":"https://api.github.com/users/Joannis","html_url":"https://github.com/Joannis","followers_url":"https://api.github.com/users/Joannis/followers","following_url":"https://api.github.com/users/Joannis/following{/other_user}","gists_url":"https://api.github.com/users/Joannis/gists{/gist_id}","starred_url":"https://api.github.com/users/Joannis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joannis/subscriptions","organizations_url":"https://api.github.com/users/Joannis/orgs","repos_url":"https://api.github.com/users/Joannis/repos","events_url":"https://api.github.com/users/Joannis/events{/privacy}","received_events_url":"https://api.github.com/users/Joannis/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":9,"state":"open","created_at":"2018-01-24T17:29:13Z","updated_at":"2018-08-21T21:02:27Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-08-15T20:32:46Z","updated_at":"2018-08-21T21:02:27Z","closed_at":"2018-08-21T21:02:27Z","author_association":"NONE","body":"<!-- 🚀 Thank you for contributing! --->\r\n\r\n<!-- Provide a brief description of the issue here. -->\r\n<!-- Pretend you are explaining it to a friend, not yourself! -->\r\n\r\nWhen throwing an error of type `HTTPResponseStatus.noContent`  the connection does not close\r\nand the request hangs.\r\n\r\n```swift\r\nthrow Abort.init(HTTPResponseStatus.noContent)\r\n``` \r\n\r\nThrowing an error with `.notFound` closes the connection immediately\r\n\r\n### Steps to reproduce\r\n\r\n<!-- Tell us how to reproduce this issue. -->\r\n<!-- Please provide as much detail as possible (the more code snippets, the better)! -->\r\n<!-- If we cannot recreate it, we will not be able to figure out how to fix it. -->\r\n\r\nWhen throwing this error:\r\n```swift\r\nthrow Abort.init(HTTPResponseStatus.noContent)\r\n``` \r\n\r\nMight be related: #1770  \r\n\r\n### Expected behavior\r\n\r\nThe connection should close, just as when throwing any other error.\r\n\r\n### Actual behavior\r\n\r\nThe connection is kept open, and the HTTP request hangs.\r\n<!-- Tell us what is actually happening (what is broken/not working correctly). -->\r\n\r\n### Environment\r\n<!-- We must know your exact environment or it is very difficult to help. -->\r\n<!-- Hint: use `vapor --version` in the root directory of your Vapor project. -->\r\n\r\n* Vapor Framework version: 3.0.8\r\n* Vapor Toolbox version: 3.1.7\r\n* OS version: 10.13.4"}}
{"actor":{"display_login":"tanner0101"}}