|
Ran
|
Files
145
|
Run time
4s
|
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)
7399 of 9741 relevant lines covered (75.96%)
13921.61 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|