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

Better handling of resp.body.Close() for traceroute #32704

Closed
wants to merge 1 commit into from

Conversation

pimlu
Copy link
Contributor

@pimlu pimlu commented Jan 6, 2025

What does this PR do?

Handles the edge case where client.Do(req) returns both a response and an error.

Motivation

Hopefully fixes memory leak from #incident-33684.

Relevant errors here: logs link

Describe how you validated your changes

Possible Drawbacks / Trade-offs

Additional Notes

@pimlu pimlu changed the title Better handling of resp.body.close for traceroute Better handling of resp.body.Close() for traceroute Jan 6, 2025
@github-actions github-actions bot added short review PR is simple enough to be reviewed quickly team/network-device-monitoring team/networks labels Jan 6, 2025
@pimlu pimlu closed this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
short review PR is simple enough to be reviewed quickly team/network-device-monitoring team/networks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant