|
Ran
|
Jobs
1
|
Files
145
|
Run time
1min
|
Badge
README BADGES
|
gitlab-ci
fix: add timeout to prevent hanging downloads on connection loss If network connection is lost while downloading an artifact, the client can hang when calling `beast::http::async_read_some` in `AsyncReadNextBodyPart`. Implement an AsyncWait timer that triggers an error handler after 5 minutes. Ticket: MEN-8717 Changelog: Fix an issue where mender-update hangs when network connection is lost during artifact download. Implement a 5-minute timeout in `AsyncReadNextBodyPart` to allow the HTTP resumer to resume the download. Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech> (cherry picked from commit 1b519306b)
8 of 12 new or added lines in 1 file covered. (66.67%)
7399 of 9741 relevant lines covered (75.96%)
13921.61 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 4 |
87.04 |
-0.26% | src/common/http/platform/beast/http.cpp |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 2014541883.1 | 145 |
75.96 |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|