{"action":"closed","issue":{"url":"https://api.github.com/repos/tjanczuk/iisnode/issues/444","repository_url":"https://api.github.com/repos/tjanczuk/iisnode","labels_url":"https://api.github.com/repos/tjanczuk/iisnode/issues/444/labels{/name}","comments_url":"https://api.github.com/repos/tjanczuk/iisnode/issues/444/comments","events_url":"https://api.github.com/repos/tjanczuk/iisnode/issues/444/events","html_url":"https://github.com/tjanczuk/iisnode/issues/444","id":98911914,"number":444,"title":"iisnode fails to return a large JSON response","user":{"login":"kirilyuro","id":13638485,"avatar_url":"https://avatars.githubusercontent.com/u/13638485?v=3","gravatar_id":"","url":"https://api.github.com/users/kirilyuro","html_url":"https://github.com/kirilyuro","followers_url":"https://api.github.com/users/kirilyuro/followers","following_url":"https://api.github.com/users/kirilyuro/following{/other_user}","gists_url":"https://api.github.com/users/kirilyuro/gists{/gist_id}","starred_url":"https://api.github.com/users/kirilyuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirilyuro/subscriptions","organizations_url":"https://api.github.com/users/kirilyuro/orgs","repos_url":"https://api.github.com/users/kirilyuro/repos","events_url":"https://api.github.com/users/kirilyuro/events{/privacy}","received_events_url":"https://api.github.com/users/kirilyuro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-04T08:05:20Z","updated_at":"2016-04-07T20:19:41Z","closed_at":"2016-04-07T20:19:41Z","body":"I have an API call to a node service which returns a large (about 7MB) JSON response. I can see the request handled successfully on the server (it creates the response data and calls the express res.json() method). The client receives a 200 OK and the correct response headers on the request (including the ~7MB Content-Length header). However, the response body never gets back to the client. IIS resets the connection when it times out, and the client gets a net::ERR_CONNECTION_RESET error.\r\n\r\nI have tried changing the IIS connection timeout from the default 2min to as high as 10min, and it still fails (the client gets the connection reset error after 10min, accordingly).\r\n\r\nIf I return only a small portion of the 7MB data, everything works fine.\r\n\r\nI am using iisnode 0.1.14 on IIS 7.5 with NodeJS v0.12.7. The OS is Windows 7 (SP1). All are 64-bit."}}