Repo Added
|
Files
144
|
Badge
README BADGES
|
gitlab-ci
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 <vratislav.podzimek@northern.tech> (cherry picked from commit 6a0c8900c)
8 of 8 new or added lines in 3 files covered. (100.0%)
1 existing line in 1 file now uncovered.7213 of 9047 relevant lines covered (79.73%)
12093.92 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|
Builds | Branch | Commit | Type | Ran | Committer | Via | Coverage |
---|---|---|---|---|---|---|---|
1585733482 | pr_1716 | 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, ca... | Pull #1716 | Mender | gitlab-ci |
79.73 |