Repo Added
|
Files
145
|
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
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|
Builds | Branch | Commit | Type | Ran | Committer | Via | Coverage |
---|---|---|---|---|---|---|---|
2014541883 | pr_1822 | 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... | Pull #1822 | gitlab-ci |
75.96 |