fyiorgnz / alaveteli

OIA/LGOIMA (Freedom of Information) request system: New Zealand fork of mysociety/alaveteli
https://fyi.org.nz/
Other
4 stars 3 forks source link

Some files fail to download from fragment cache #14

Open olineham opened 5 years ago

olineham commented 5 years ago

When downloading an attachment, response is 200 OK, but file transfer does not complete. No errors in rails log. File in alaveteli's fragment cache looks fine.

Issue happens persistently with specific files.

Example: https://fyi.org.nz/request/8001/response/26560/attach/4/OIA%20Raue%20Documentation.pdf

HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Content-Type: application/pdf; charset=utf-8
[..]
transfer-encoding: chunked
Connection: keep-alive

Transfer stalls at approx 1.3MB out of 39.7MB