Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Cancel the previous request before scheduling a new one in HTTP …
…resumer The `http::Client()` class is designed to always have only one HTTP request in progress. Thus, before scheduling a new request using the same `http::Client` instance, cancel the previous request to make sure everything is properly reset for the new one. Ticket: MEN-7810 Changelog: Fix download resuming to reset the HTTP state and avoid repeatedly hitting the same error in case of a bad state Signed-off-by: Vratislav Podzimek <[email protected]>
- Loading branch information