Details
Description
There are several problems
- Http clients in OzoneVolume, OzoneBucket and OzoneClient are created per request, per Reuse of HttpClient instance doc, proposed to reuse the http client instance to reduce the over head.
- Some resources in these classes were not properly cleaned up. E.g the http connection, HttpGet/HttpPost requests.
This jira's purpose is to fix these issues and investigate how we can improve the client.