minio / kes

Key Managament Server for Object Storage and more
https://min.io/docs/kes/concepts/
GNU Affero General Public License v3.0
456 stars 94 forks source link

keystore: fix conn leak in {AWS,GCP,Fortanx,Gemalto} backend #451

Closed aead closed 5 months ago

aead commented 5 months ago

This commit fixes a TCP conn leak in the AWS, GCP, Fortanix and Gemalto KMS backend. Due to a missing http.Response.Body.Close call, the status check in these backends accumulated TCP connections that are not closed by the runtime.

This resource leak can cause OOM issues.

Fixes #445