0.34.6_repo_cleanup
This commit is contained in:
1 parent
ce1a90397c
commit
133d2f0f91
273 files changed
+5969
-6926
No files matched your search
@@ -1,16 +1,8 @@
|
||||
impl App {
|
||||
/// Re-read configured public certificate/key files and publish a new
|
||||
/// immutable TLS/routing snapshot without changing desired configuration
|
||||
/// or its SQLite revision. Existing connections continue on their current
|
||||
/// TLS session; new H1/H2/H3 handshakes use the refreshed certificates.
|
||||
pub async fn reload_certificates(self: &Arc<Self>) -> Result<u64, ApiError> {
|
||||
self.reload_certificate_snapshot(None).await
|
||||
}
|
||||
|
||||
/// Reload an externally managed/manual certificate by id. The immutable TLS
|
||||
/// resolver is rebuilt as one validated snapshot, so the requested pair is
|
||||
/// re-read atomically with the other configured pairs while desired
|
||||
/// configuration and its revision remain unchanged.
|
||||
pub async fn reload_certificate(
|
||||
self: &Arc<Self>,
|
||||
certificate_id: &str,
|
||||
|
||||
Reference in new issue
Block a user