Skip to content

hawkbit-client: do not resume downloads for persistent server errors#216

Open
Bastian-Krause wants to merge 1 commit intorauc:masterfrom
Bastian-Krause:bst/unresumable-4xx-errors
Open

hawkbit-client: do not resume downloads for persistent server errors#216
Bastian-Krause wants to merge 1 commit intorauc:masterfrom
Bastian-Krause:bst/unresumable-4xx-errors

Conversation

@Bastian-Krause
Copy link
Copy Markdown
Member

Most 4xx HTTP status codes indicate that retrying the request unmodified is not going to lead to success. Exceptions are "408 Request Timeout" and "429 Too Many Requests".

So do not try to resume downloads under these conditions and report an error to hawkBit immediately.

Reported in #158.

Most 4xx HTTP status codes indicate that retrying the request unmodified
is not going to lead to success. Exceptions are "408 Request Timeout"
and "429 Too Many Requests".

So do not try to resume downloads under these conditions and report an
error to hawkBit immediately.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
@Bastian-Krause Bastian-Krause force-pushed the bst/unresumable-4xx-errors branch from 53e0e01 to 889cf0c Compare April 27, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants