Upload of large non .zip files crashes app
The backend tries to determine if a file is a .zip, .tar, or other file. This only happens, if the file name is not known (otherwise, the extension is considered). The default curl upload command for example, would not contain any file name (no form data, no file_name
URL query string parameter).
files.tarfile.is_tarfile
seems to be the issue. If the file is not a .tar file directly, is_tarfile
seems to check for all kinds of compressions. I guess it loads to much of the file into memory, but eventually the process dies doing this.