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

Closing response body before retrying to release network resources #38

Conversation

mvalani-sm
Copy link
Contributor

@mvalani-sm mvalani-sm commented Jan 25, 2022

The retryable HTTP call is not closing the response body and doing the next iteration in case of the 429 response code. Due to this mechanism eventually, all the persistent TCP connections are getting consumed and unable to make any further calls. As per the official doc, the user is responsible to close the body.

@mvalani-sm mvalani-sm changed the title closing response body before retrying to release network resources Closing response body before retrying to release network resources Jan 25, 2022
@AaronAtDuo AaronAtDuo merged commit 96a8851 into duosecurity:master Feb 1, 2022
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.

2 participants