connections closed and ranged requests Anonymous 09/01/2018 (Sat) 20:29:24 No.9787 del
(125.17 KB 950x713 web.jpeg)
There's an old unresolved problem with the onion frontend (at least): when downloading large files the server closes the connection after 10MB or so have been transferred, leaving the file truncated.

For certain kinds of files it's possible to workaround this bug by resuming the download at the position it was interrupted. The connection will get closed again after another 10MB or so. Repeat until the file is complete.

However, for fuck knows what reason, StephenLynx decided to use a whitelist for mime types allowed to be requested in ranges, so that workaround doesn't always work. He came to his senses at some point and dropped that nonsense, but Endchan still uses the whitelist.

So 2 issues:
1. The server closes connections after a few MB.
2. Remove the whitelist in src/be/engine/gridFsHandler.js.