{"action":"created","issue":{"url":"https://api.github.com/repos/actix/actix-web/issues/549","repository_url":"https://api.github.com/repos/actix/actix-web","labels_url":"https://api.github.com/repos/actix/actix-web/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/actix/actix-web/issues/549/comments","events_url":"https://api.github.com/repos/actix/actix-web/issues/549/events","html_url":"https://github.com/actix/actix-web/issues/549","id":370175880,"node_id":"MDU6SXNzdWUzNzAxNzU4ODA=","number":549,"title":"version 0.7.13 breaks serving static files from behind a DMZ firewall and a proxy","user":{"login":"jvo203","id":37245346,"node_id":"MDQ6VXNlcjM3MjQ1MzQ2","avatar_url":"https://avatars1.githubusercontent.com/u/37245346?v=4","gravatar_id":"","url":"https://api.github.com/users/jvo203","html_url":"https://github.com/jvo203","followers_url":"https://api.github.com/users/jvo203/followers","following_url":"https://api.github.com/users/jvo203/following{/other_user}","gists_url":"https://api.github.com/users/jvo203/gists{/gist_id}","starred_url":"https://api.github.com/users/jvo203/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvo203/subscriptions","organizations_url":"https://api.github.com/users/jvo203/orgs","repos_url":"https://api.github.com/users/jvo203/repos","events_url":"https://api.github.com/users/jvo203/events{/privacy}","received_events_url":"https://api.github.com/users/jvo203/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-15T13:56:32Z","updated_at":"2018-10-18T01:43:32Z","closed_at":null,"author_association":"NONE","body":"Up until version 0.7.12 everything used to work very well. With the new version 0.7.13 it is impossible to serve static file resources when browser requests go through a DMZ firewall and then a proxy.\r\n\r\nError messages seen in the browser: Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING\r\nmarchingsquares-isocontours.min.js:1 Failed to load resource: the server responded with a status of 502 (Bad Gateway)\r\n\r\nWhen resources are served to the browser directly (without any DMZ/firewall/proxy) everything works OK. actix-web is used in the production server in the following radio-astronomy project:\r\n\r\nhttps://github.com/jvo203/fits_web_ql\r\n\r\nAs this is a production environment there is no space for experimentation. We had to downgrade actix-web to the previous release 0.7.12 in order to keep things working in order. Amongst other things we use actix-web WebSockets to stream HEVC frames created in real-time with x265. Overall actix-web is extremely fast and the API is pleasant to work with.\r\n\r\nStatic resources are handled in a standard way:\r\n\r\n.handler(\"/\", fs::StaticFiles::new(\"htdocs\").unwrap().index_file(index_file))"},"comment":{"url":"https://api.github.com/repos/actix/actix-web/issues/comments/430846302","html_url":"https://github.com/actix/actix-web/issues/549#issuecomment-430846302","issue_url":"https://api.github.com/repos/actix/actix-web/issues/549","id":430846302,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDg0NjMwMg==","user":{"login":"jvo203","id":37245346,"node_id":"MDQ6VXNlcjM3MjQ1MzQ2","avatar_url":"https://avatars1.githubusercontent.com/u/37245346?v=4","gravatar_id":"","url":"https://api.github.com/users/jvo203","html_url":"https://github.com/jvo203","followers_url":"https://api.github.com/users/jvo203/followers","following_url":"https://api.github.com/users/jvo203/following{/other_user}","gists_url":"https://api.github.com/users/jvo203/gists{/gist_id}","starred_url":"https://api.github.com/users/jvo203/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvo203/subscriptions","organizations_url":"https://api.github.com/users/jvo203/orgs","repos_url":"https://api.github.com/users/jvo203/repos","events_url":"https://api.github.com/users/jvo203/events{/privacy}","received_events_url":"https://api.github.com/users/jvo203/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T01:43:32Z","updated_at":"2018-10-18T01:43:32Z","author_association":"NONE","body":"git-bisecting was fast as there were only two commits to test. The commit causing problems is\r\n\r\n\"HttpServer not sending streamed request body on HTTP/2 requests #544\"\r\n\r\nOur proxy uses HTTP 1.0 internally (HTTP 1.1 requests seem to be handled as HTTP 1.0). The above commit has special handling for HTTP_2, HTTP_11 but handling HTTP 1.0 seems to be broken by this commit."}}
{"actor":{"display_login":"jvo203"}}