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

cmd: fix resource leak when reloading TLS config #408

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Conversation

aead
Copy link
Member

@aead aead commented Oct 27, 2023

This commit fixes a resource leak when reloading
the server's TLS config. By reading the entire
config file, the server connects to the keystore.
These connection was never closed.

Now, the server only reloads the TLS configuration and ignores any non-TLS related config information.

This commit fixes a resource leak when reloading
the server's TLS config. By reading the entire
config file, the server connects to the keystore.
These connection was never closed.

Now, the server only reloads the TLS configuration
and ignores any non-TLS related config information.

Signed-off-by: Andreas Auernhammer <[email protected]>
@aead aead merged commit fb612d9 into master Oct 27, 2023
7 checks passed
@aead aead deleted the resource-leak branch October 27, 2023 09:29
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.

2 participants