Skip to content

fix(ofrep): close http response body after using it #576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

erka
Copy link
Contributor

@erka erka commented Aug 22, 2024

This PR

  • This PR fixes the memory leak when using http client.
  • It also cleanups few tests and typos.

Related Issues

Notes

Follow-up Tasks

How to test

@erka erka requested a review from a team as a code owner August 22, 2024 14:04
This commit fixes the memory leak when using http client. It also
cleanups few tests and typos.

Signed-off-by: Roman Dmytrenko <[email protected]>
@erka erka force-pushed the ofrep-close-resp-body branch from 74d1d44 to 68f0e34 Compare August 22, 2024 14:06
Copy link
Member

@thomaspoignant thomaspoignant left a comment

Choose a reason for hiding this comment

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

Good catch for closing the body.
And the cleanup makes sense to me.

@erka
Copy link
Contributor Author

erka commented Aug 27, 2024

Hey @beeme1mr @thomaspoignant. Is there anything else preventing this PR from being merged?

@thomaspoignant
Copy link
Member

@erka no nothing.
I'll merge it and release it.

@thomaspoignant thomaspoignant merged commit 02a3b5d into open-feature:main Aug 27, 2024
5 checks passed
@erka
Copy link
Contributor Author

erka commented Aug 27, 2024

@thomaspoignant thank you!

@erka erka deleted the ofrep-close-resp-body branch August 27, 2024 10:55
@thomaspoignant
Copy link
Member

It is released !

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.

3 participants