-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpc: update OncRpcSvcBuilder to support SSLContext supplier
Motivation: SSLEngineConfigurator creates the SSLContext only once, thus it host certificate is updated, we need to restart the service to reload the certificate. Modification: Update OncRpcSvc to use custom versions of SSLEngineConfigurator, that will always call SSLContextConfigurator#createSSLContext to get a context. Create a custom version of SSLContextConfigurator, that uses a suppler to get a SSLContext. Update OncRpcSvcBuilder to accept SSLContext supplier. Result: More flexible SSLContext creation Acked-by: Lea Morschel Target: master
- Loading branch information
Showing
4 changed files
with
115 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters