{"action":"created","issue":{"url":"https://api.github.com/repos/yesodweb/wai/issues/372","labels_url":"https://api.github.com/repos/yesodweb/wai/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/yesodweb/wai/issues/372/comments","events_url":"https://api.github.com/repos/yesodweb/wai/issues/372/events","html_url":"https://github.com/yesodweb/wai/issues/372","id":73043556,"number":372,"title":"Is there max file size limit for warp","user":{"login":"rnons","id":1082650,"avatar_url":"https://avatars.githubusercontent.com/u/1082650?v=3","gravatar_id":"","url":"https://api.github.com/users/rnons","html_url":"https://github.com/rnons","followers_url":"https://api.github.com/users/rnons/followers","following_url":"https://api.github.com/users/rnons/following{/other_user}","gists_url":"https://api.github.com/users/rnons/gists{/gist_id}","starred_url":"https://api.github.com/users/rnons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnons/subscriptions","organizations_url":"https://api.github.com/users/rnons/orgs","repos_url":"https://api.github.com/users/rnons/repos","events_url":"https://api.github.com/users/rnons/events{/privacy}","received_events_url":"https://api.github.com/users/rnons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2015-05-04T15:00:54Z","updated_at":"2015-05-15T04:45:45Z","closed_at":null,"body":"I'm using warp provided by wai-app-static as my file server. However, it seems that it doesn't serve large files well. The output of curl is\r\n\r\n```\r\n> GET /a_large_file.tar.gz HTTP/1.1\r\n> User-Agent: curl/7.37.1\r\n> Host: 192.168.1.105:3030\r\n> Accept: */*\r\n>\r\n< HTTP/1.1 200 OK\r\n< Content-Length: 2961192960\r\n< Accept-Ranges: bytes\r\n< Date: Mon, 04 May 2015 02:49:05 GMT\r\n* Server Warp/3.0.12 is not blacklisted\r\n< Server: Warp/3.0.12\r\n< Content-Type: application/x-tgz\r\n< last-modified: Thu, 30 Apr 2015 18:11:05 GMT\r\n<\r\n{ [data not shown]\r\n* transfer closed with 2961192960 bytes remaining to read\r\n* Closing connection 0\r\ncurl: (18) transfer closed with 2961192960 bytes remaining to read\r\n``` \r\nThe OS is Fedora-21 32bit. The version of wai-app-static is 3.0.1\r\n\r\nI also tested it on a Mac 64bit, large file works fine. Maybe something is missing in my Fedora machine?"},"comment":{"url":"https://api.github.com/repos/yesodweb/wai/issues/comments/102254581","html_url":"https://github.com/yesodweb/wai/issues/372#issuecomment-102254581","issue_url":"https://api.github.com/repos/yesodweb/wai/issues/372","id":102254581,"user":{"login":"kazu-yamamoto","id":165387,"avatar_url":"https://avatars.githubusercontent.com/u/165387?v=3","gravatar_id":"","url":"https://api.github.com/users/kazu-yamamoto","html_url":"https://github.com/kazu-yamamoto","followers_url":"https://api.github.com/users/kazu-yamamoto/followers","following_url":"https://api.github.com/users/kazu-yamamoto/following{/other_user}","gists_url":"https://api.github.com/users/kazu-yamamoto/gists{/gist_id}","starred_url":"https://api.github.com/users/kazu-yamamoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazu-yamamoto/subscriptions","organizations_url":"https://api.github.com/users/kazu-yamamoto/orgs","repos_url":"https://api.github.com/users/kazu-yamamoto/repos","events_url":"https://api.github.com/users/kazu-yamamoto/events{/privacy}","received_events_url":"https://api.github.com/users/kazu-yamamoto/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T04:45:45Z","updated_at":"2015-05-15T04:45:45Z","body":"@snoyberg Yeah. We need to fall back to the pread()/writev() approach in such cases. *Fortunately*, we have such a branch: https://github.com/yesodweb/wai/tree/writev"}}