Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Truncate downloaded file more correctly
The previous code would only truncate the file, and turn off resume if the xattr was missing. This left a gap when resume was disabled, and the xattr was missing - the file wouldn't get truncated if present. This behaviour is strictly needed for rpm-software-management#222 to work correctly. That does not support resuming (sorry, one day it could), so it explicitly disables resuming.
- Loading branch information