You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ApacheDockerHttpClient may cause memory leak #1559
The problem is when build ApacheDockerHttpClient, the maxConnections parameter is not set, the default value is Integer.MAX_VALUE. HttpClient will not reuse the connection when using a client certificate, the result is HttpClient create a new connection for every request and never release one. Here is the explanation.
Suggestion:
Disable connection state when build the HttpClient.
Activity
bsideup commentedon Mar 15, 2021
Hi @internalerror,
Thanks for the investigation! Would you like to submit a PR and adds the suggested fix? Thanks!
Fix memory leak risk by using `disableConnectionState()` to disable h…