{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/294","repository_url":"https://api.github.com/repos/aspnet/IISIntegration","labels_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/294/comments","events_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/294/events","html_url":"https://github.com/aspnet/IISIntegration/issues/294","id":185479923,"number":294,"title":"IIS appears to be buffering the entire HTTP request","user":{"login":"Sebazzz","id":1426097,"avatar_url":"https://avatars.githubusercontent.com/u/1426097?v=3","gravatar_id":"","url":"https://api.github.com/users/Sebazzz","html_url":"https://github.com/Sebazzz","followers_url":"https://api.github.com/users/Sebazzz/followers","following_url":"https://api.github.com/users/Sebazzz/following{/other_user}","gists_url":"https://api.github.com/users/Sebazzz/gists{/gist_id}","starred_url":"https://api.github.com/users/Sebazzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sebazzz/subscriptions","organizations_url":"https://api.github.com/users/Sebazzz/orgs","repos_url":"https://api.github.com/users/Sebazzz/repos","events_url":"https://api.github.com/users/Sebazzz/events{/privacy}","received_events_url":"https://api.github.com/users/Sebazzz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-26T18:56:37Z","updated_at":"2016-10-26T18:56:37Z","closed_at":null,"body":"A problem I'm facing is that the IIS module seems to be buffering the entire HTTP request before passing it to the application. Current scenario is large file upload, using a file of, for example 4GB. Complete application can be [found here](https://github.com/Sebazzz/IFS). \r\n\r\nUpload code is [quite trivial](https://github.com/Sebazzz/IFS/blob/83785fe4090a8f59fe428bb01cb812fc7e8ba005/src/IFS.Web/Core/Upload/UploadManager.cs#L80-L92), though not relevant, because it is never reached until the entire response is read by the server according to my logging.\r\n\r\nHosting on IIS express works as expected, as well as running Kestrel directly. The entire response is streamed by ASP.NET Core as it arrives. However, running on a real life server, either on Windows Server 2008 R2 or Windows Server 2012 (R1), the HTTP request appears to be buffered and not reach the application until it fully available on the server. "}}
{"actor":{"display_login":"Sebazzz"}}