Skip to content

Comments

fix: prevent Response body leak on retries#361

Open
nbw wants to merge 1 commit intoalpacahq:masterfrom
nbw:fix/close-resp-body-on-retry
Open

fix: prevent Response body leak on retries#361
nbw wants to merge 1 commit intoalpacahq:masterfrom
nbw:fix/close-resp-body-on-retry

Conversation

@nbw
Copy link

@nbw nbw commented Feb 3, 2026

the resp Body isn't closed between replies. Probably harmless but better safe than sorry.

Issue was originally mentioned here: #307

For the tests I used AI to help find a way to verify each retry was closed and flushed.

@nbw nbw requested review from gnvk and said-saifi as code owners February 3, 2026 14:40
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