minio / kes

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

vault: use custom `http.Transport` #393

Closed aead closed 1 year ago

aead commented 1 year ago

This commit replaces the vault.DefaultConfig with a custom Config which mainly differs from the default by using a custom http.Transport.

The vault.DefaultConfig uses a http.Transport that can leak TCP connections. Since these connections use TCP keepalive they remain idle and don't get closed causing a small but constant memory growth that can cause KES to run OOM.