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

Fix connections leak: close connections after dispatching request #265

Merged
merged 1 commit into from
Oct 15, 2023
Merged

Fix connections leak: close connections after dispatching request #265

merged 1 commit into from
Oct 15, 2023

Conversation

abler98
Copy link
Contributor

@abler98 abler98 commented Oct 5, 2023

Current behavior: an instance of a client is created for each request. Each client opens a connection to a server and doesn't close it
Fix: added logic to close connections after dispatching request
Additional fix: changed context in one of the dialTLS calls to fix timeout behavior if proxy server is not responding

@Danny-Dasilva Danny-Dasilva merged commit 5739745 into Danny-Dasilva:main Oct 15, 2023
1 of 5 checks passed
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