Skip to content

fix: bound HTTP response reads and handle overflowing retry dates - #499

Merged
devopvoid merged 1 commit into
mainfrom
fix-http-request-deadlines
Oct 31, 2026
Merged

devopvoid merged 1 commit into
mainfrom
fix-http-request-deadlines

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

HTTP requests could remain pending indefinitely when a server stopped sending data after the response headers. Enforce an independent deadline across the entire request, including response bodies and retries, and cancel the deadline when the request completes.

Treat out-of-range Retry-After dates as invalid and propagate response-processing failures to the caller, so an overflowing date cannot leave the result future unresolved. Add regression coverage for stalled bodies and overflowing retry dates.

@devopvoid
devopvoid merged commit f80d27b into main Oct 31, 2026
21 of 22 checks passed
@devopvoid
devopvoid deleted the fix-http-request-deadlines branch October 31, 2026 20:07
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