Skip to content
Snippets Groups Projects
Commit e356c64d authored by Antoine Lambert's avatar Antoine Lambert
Browse files

api/private/deposit_read: Read tarball by chunks to avoid errors

When the django storage backend storing deposited tarballs is a remote
one (azure for instance), IncompleteRead errors can happen if the size
of the tarball to read is large.

Prefer to read tarball bytes by chunks instead to avoid these kind of
issues.

Fixes #4653.
parent 8a4e897b
No related branches found
Tags v1.3.4
Loading
Checking pipeline status