{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/418","labels_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/418/comments","events_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/418/events","html_url":"https://github.com/aspnet/KestrelHttpServer/issues/418","id":118298463,"number":418,"title":"Hangs when request contains \"Connection: close\" header","user":{"login":"Daniel15","id":91933,"avatar_url":"https://avatars.githubusercontent.com/u/91933?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel15","html_url":"https://github.com/Daniel15","followers_url":"https://api.github.com/users/Daniel15/followers","following_url":"https://api.github.com/users/Daniel15/following{/other_user}","gists_url":"https://api.github.com/users/Daniel15/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel15/subscriptions","organizations_url":"https://api.github.com/users/Daniel15/orgs","repos_url":"https://api.github.com/users/Daniel15/repos","events_url":"https://api.github.com/users/Daniel15/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel15/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-22T23:38:28Z","updated_at":"2015-11-22T23:57:37Z","closed_at":"2015-11-22T23:49:31Z","body":"Kestrel hangs when the \"Connection: close\" request header is provided:\r\n\r\n![screen shot 2015-11-22 at 3 44 41 pm](https://cloud.githubusercontent.com/assets/91933/11327074/0ae045d6-9130-11e5-856f-38d406f09488.png)\r\n\r\n--------\r\n\r\n*Original post:*\r\n\r\nI'm trying to upgrade my site from Beta 6 to RC 1. I'm encountering an issue whereby hitting Kestrel directly (ie. `curl http://localhost:5000/foo`) works fine, but hitting it via an Nginx proxy results in the request hanging and no response being received. Interestingly, if I kill Kestrel, the request *does* complete. The same configuration worked fine with Beta 6.\r\n\r\nRelevant parts of the Nginx config:\r\n```\r\n\tlocation / {\r\n\t\t# Pass requests for unknown files to ASP.NET\r\n\t\ttry_files $uri $uri/index.htm @aspnet;\r\n\t}\r\n\r\n\tlocation @aspnet {\r\n\t\tproxy_pass http://127.0.0.1:5000;\r\n\t\tproxy_set_header Host $host;\r\n\t}\r\n```\r\n\r\nThe site is my personal site, code is on Github: https://github.com/Daniel15/Website"},"comment":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/comments/158820617","html_url":"https://github.com/aspnet/KestrelHttpServer/issues/418#issuecomment-158820617","issue_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/418","id":158820617,"user":{"login":"Daniel15","id":91933,"avatar_url":"https://avatars.githubusercontent.com/u/91933?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel15","html_url":"https://github.com/Daniel15","followers_url":"https://api.github.com/users/Daniel15/followers","following_url":"https://api.github.com/users/Daniel15/following{/other_user}","gists_url":"https://api.github.com/users/Daniel15/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel15/subscriptions","organizations_url":"https://api.github.com/users/Daniel15/orgs","repos_url":"https://api.github.com/users/Daniel15/repos","events_url":"https://api.github.com/users/Daniel15/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel15/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T23:57:37Z","updated_at":"2015-11-22T23:57:37Z","body":"Thanks @khellang! It looks like I can't just use the latest Kestrel along with RC1 versions of everything else, as it has RC2 dependencies. I might just download the RC1 code and manually patch the fix in (assuming it patches cleanly on RC1)"}}