Skip to content
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

caddyconfig: fix httploader leak from unused responses due to loop not breaking on success #5159

Merged
merged 1 commit into from
Oct 24, 2022
Merged

caddyconfig: fix httploader leak from unused responses due to loop not breaking on success #5159

merged 1 commit into from
Oct 24, 2022

Conversation

ChrisLahaye
Copy link
Contributor

fixes #5158

Signed-off-by: Chris Lahaye mail@chrislahaye.com

…t breaking on success

fixes #5158

Signed-off-by: Chris Lahaye <mail@chrislahaye.com>
@CLAassistant
Copy link

CLAassistant commented Oct 20, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Thank you for the patch. I reviewed this when I was quite tired...

I also wonder if we should close the response body here if the status code is unacceptable, while we're at it.

Also, if you could sign the CLA, then we can get this merged in right away! :D

@mholt mholt added the bug 🐞 Something isn't working label Oct 20, 2022
@mholt mholt added this to the v2.6.3 milestone Oct 20, 2022
@mholt mholt merged commit bbe3663 into caddyserver:master Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak in v2.6.2
4 participants