We're leaking HTTP connection when we get an error response from server, and if the client keeps retrying, we will run out connections from the connection pool. This PR contains the change to consume the HTTP response even under error case which will release the connection internally.
We're leaking HTTP connection when we get an error response from server, and if the client keeps retrying, we will run out connections from the connection pool. This PR contains the change to consume the HTTP response even under error case which will release the connection internally.