Skip to content

Cancel discarded redirect response bodies - #20

Merged
smiggleworth merged 2 commits into
mainfrom
fix/redirect-body-cancellation
Aug 16, 2026
Merged

Cancel discarded redirect response bodies#20
smiggleworth merged 2 commits into
mainfrom
fix/redirect-body-cancellation

Conversation

@smiggleworth

Copy link
Copy Markdown
Contributor

Summary

  • cancel streaming response bodies before redirect follow and error exits
  • keep cancellation failures from replacing redirect semantics
  • cover follow, redirect-error, redirect-limit, and cancellation-failure paths

Validation

  • npm run check

Closes #19

@smiggleworth
smiggleworth marked this pull request as ready for review August 16, 2026 13:58
Copilot AI lite review requested due to automatic review settings August 16, 2026 13:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@smiggleworth
smiggleworth merged commit cab8dcd into main Aug 16, 2026
3 checks passed
@smiggleworth
smiggleworth deleted the fix/redirect-body-cancellation branch August 16, 2026 13:58
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.

Redirect following leaves discarded response bodies open

2 participants