{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/express/issues/2836","labels_url":"https://api.github.com/repos/strongloop/express/issues/2836/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/express/issues/2836/comments","events_url":"https://api.github.com/repos/strongloop/express/issues/2836/events","html_url":"https://github.com/strongloop/express/issues/2836","id":124173410,"number":2836,"title":"res.send cause process exit without a catchable exception","user":{"login":"calidion","id":131776,"avatar_url":"https://avatars.githubusercontent.com/u/131776?v=3","gravatar_id":"","url":"https://api.github.com/users/calidion","html_url":"https://github.com/calidion","followers_url":"https://api.github.com/users/calidion/followers","following_url":"https://api.github.com/users/calidion/following{/other_user}","gists_url":"https://api.github.com/users/calidion/gists{/gist_id}","starred_url":"https://api.github.com/users/calidion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calidion/subscriptions","organizations_url":"https://api.github.com/users/calidion/orgs","repos_url":"https://api.github.com/users/calidion/repos","events_url":"https://api.github.com/users/calidion/events{/privacy}","received_events_url":"https://api.github.com/users/calidion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-29T07:04:00Z","updated_at":"2016-01-02T23:32:55Z","closed_at":null,"body":"I have encountered process exit with res.send which will not throw any exception when the res has been terminated by the peer server.\r\nthis can be reproduce again and again.\r\nif i comment <code>res.send</code>, then the node process won't exit anymore."},"comment":{"url":"https://api.github.com/repos/strongloop/express/issues/comments/168438522","html_url":"https://github.com/strongloop/express/issues/2836#issuecomment-168438522","issue_url":"https://api.github.com/repos/strongloop/express/issues/2836","id":168438522,"user":{"login":"dougwilson","id":67512,"avatar_url":"https://avatars.githubusercontent.com/u/67512?v=3","gravatar_id":"","url":"https://api.github.com/users/dougwilson","html_url":"https://github.com/dougwilson","followers_url":"https://api.github.com/users/dougwilson/followers","following_url":"https://api.github.com/users/dougwilson/following{/other_user}","gists_url":"https://api.github.com/users/dougwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/dougwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougwilson/subscriptions","organizations_url":"https://api.github.com/users/dougwilson/orgs","repos_url":"https://api.github.com/users/dougwilson/repos","events_url":"https://api.github.com/users/dougwilson/events{/privacy}","received_events_url":"https://api.github.com/users/dougwilson/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T23:32:54Z","updated_at":"2016-01-02T23:32:54Z","body":"Hi you guys. Unfortunately trying that code snippet does not cause the app to exit for me. In order for us to take a look, please provide the following information:\r\n\r\n1. What exact version of express are you using?\r\n2. What exact version of Node.js are you using?\r\n3. A full app we can copy and paste into a file and run that reproduces the issue.\r\n4. The request to make to the app to reproduce the issue.\r\n\r\nWithout us being able to reproduce the issue or you providing a stack trace of an error, we would have to wait for you to provide a pull request to fix the issue, if there is an issue in express."}}