|
Repo Added
|
Files
143
|
Badge
README BADGES
|
push
gitlab-ci
fix(http): time out stalled transactions without killing switched protocols A server that accepts a request and never answers left the response read outstanding forever, wedging the client until restart. Arm Beast's stream timeout per operation and disarm it at the 101 Switching Protocols handover -- leaving it armed there closed mender-connect's WebSocket after five minutes and got the previous attempt reverted (MEN-9433). Backport note: common::def_value does not exist on 5.0.x, so it comes over from master too. A plain default member initializer would not do, since Debug builds use C++11, where that stops ClientConfig being an aggregate. Ticket: ME-731 Changelog: Fixed the client hanging indefinitely when a server accepts a request but never sends a response, which left the device unmanageable until it was restarted. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Nick Anderson <nick@cmdln.org> (cherry picked from commit c7a9290d3)
16 of 16 new or added lines in 2 files covered. (100.0%)
8503 of 10448 relevant lines covered (81.38%)
21636.2 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|
| Builds | Branch | Commit | Type | Ran | Committer | Via | Coverage |
|---|---|---|---|---|---|---|---|
| 2734681275 | pr_2009 | fix(http): time out stalled transactions without killing switched protocols A server that accepts a request and never answers left the response read outstanding forever, wedging the client until restart. Arm Beast's stream timeout per operation a... | push | gitlab-ci |
81.38 |