Skip to content

Conversation

@mohan-13
Copy link
Member

@mohan-13 mohan-13 commented Dec 18, 2025

This PR fixes the issue of HTTP Connections not getting released back to the pool, when the request failed.
Since we are leveraging PoolingHttpClientConnectionManager, it expects the response entity to be consumed irrespective of the status of the response. This is needed to properly release the connection back to the pool.

Reference: https://www.baeldung.com/httpclient-connection-management#multiple

JIRA: https://bahmni.atlassian.net/browse/BAH-4348

@mohan-13 mohan-13 merged commit 9414439 into master Dec 18, 2025
2 checks passed
@mohan-13 mohan-13 deleted the BAH-4348 branch December 18, 2025 04:54
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