New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HTTPFile] cause chunk encoding error #80
Comments
This seems to happen as file size increases. |
@Danappelxx was able to help me out. It looks like the issue lies within the response being a |
Issue has not been resolved yet. |
That was misleading, haha. so what's left? |
Well, FileStream is still broken (and hence HTTPFile), so that needs to be fixed. The workaround that I suggested to @donut was to recreate HTTPFile but use File instead of FileStream, which is not a good overall solution. |
Why is |
Did anybody test? |
Sorry, I meant that we haven't fixed it yet (hence why this issue should remain open). |
When I deliver a certain file using
HTTPFile.FileResponder
along with eitherHTTPSServer
orHTTPServer
, it always fails delivering the whole file. Chrome reports "net:ERR_INVALID_CHUNKED_ENCODING" in its Developer Tools Network tab.In this gist you can see react.js file as delivered by nginx or
HTTPServer
. The page is super long, so it may be easier to open up the files in new tabs:I think I have experienced this occasionally on OS X, but it happens consistently on my 512 MB DigitalOcean VM running Ubuntu 14.04.3.
The text was updated successfully, but these errors were encountered: