Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vault: do not reuse TCP connections #486

Merged
merged 1 commit into from
Sep 11, 2024
Merged

vault: do not reuse TCP connections #486

merged 1 commit into from
Sep 11, 2024

Conversation

aead
Copy link
Member

@aead aead commented Sep 10, 2024

This commit disables TCP connection reuse for Vault. Apparently, TCP connections to Vault might hang if Vault gets shutdown forcefully.

The downside of this commit is that KES has to re-open a new TCP connection for every interaction with Vault. However, KES should not reach out to Vault most of the time. Hence, this change seems acceptable.

This commit disables TCP connection reuse for Vault.
Apparently, TCP connections to Vault might hang if Vault
gets shutdown forcefully.

The downside of this commit is that KES has to re-open a new
TCP connection for every interaction with Vault. However,
KES should not rach out to Vault most of them time. Hence, this
change seems acceptable.

Signed-off-by: Andreas Auernhammer <[email protected]>
Copy link
Contributor

@shtripat shtripat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aead aead merged commit db17a10 into master Sep 11, 2024
8 checks passed
@aead aead deleted the vault-transport branch September 11, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants