Skip to content

fix: preserve HTTP errors after body timeouts - #2

Merged
StefaniOSApps merged 1 commit into
mainfrom
fix/http-error-timeouts
Sep 30, 2026
Merged

StefaniOSApps merged 1 commit into
mainfrom
fix/http-error-timeouts

Conversation

@StefaniOSApps

Copy link
Copy Markdown
Contributor

A timeout while reading an HTTP error body replaced the known response with TimeoutError. This could make consumers retry a 429 response before Retry-After or retry other rejected requests.

Preserve HTTP errors and response metadata when the body times out, while preserving explicit caller cancellation. Successful response bodies still respect the request timeout. Prepare patch release 1.0.2 for the ioBroker adapter update.

Validation: npm run check passes, including live HTTP streaming timeout regressions for 400/401/403/404/409/429/500/503, cancellation, package contents, CJS/ESM imports and supported TypeScript consumers.

@StefaniOSApps
StefaniOSApps merged commit ee81df8 into main Sep 30, 2026
4 checks passed
@StefaniOSApps
StefaniOSApps deleted the fix/http-error-timeouts branch October 9, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant