v0.32.5
This commit is contained in:
1 parent
8b9ca4db44
commit
00218a72df
35 files changed
+790
-870
No files matched your search
@@ -77,6 +77,7 @@ impl App {
|
||||
})?
|
||||
.map_err(|error| ApiError(StatusCode::UNPROCESSABLE_ENTITY, format!("{error:#}")))?;
|
||||
self.config.store(Arc::new(prepared));
|
||||
crate::acl::dynamic::config_changed();
|
||||
if let Some(certificate_id) = certificate_id {
|
||||
tracing::info!(
|
||||
revision,
|
||||
|
||||
@@ -37,6 +37,7 @@ impl App {
|
||||
})?
|
||||
.map_err(|error| ApiError(StatusCode::UNPROCESSABLE_ENTITY, format!("{error:#}")))?;
|
||||
self.config.store(Arc::new(prepared));
|
||||
crate::acl::dynamic::config_changed();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
impl App {
|
||||
pub fn start_dns_acl_updates(self: &Arc<Self>) {
|
||||
self.tunnels.spawn(crate::acl::dynamic::poll_loop(
|
||||
Arc::downgrade(self), self.shutdown.clone(),
|
||||
));
|
||||
}
|
||||
|
||||
pub fn start_geoip_updates(self: &Arc<Self>) {
|
||||
self.tunnels.spawn(crate::geoip::update_poll_loop(
|
||||
Arc::downgrade(self),
|
||||
@@ -152,6 +158,7 @@ impl App {
|
||||
this.logs.configure(envelope.config.logging.clone());
|
||||
crate::logging::configure_error_log(envelope.config.error_log.clone());
|
||||
this.config.store(Arc::new(prepared));
|
||||
crate::acl::dynamic::config_changed();
|
||||
tracing::info!(revision, "configuration applied");
|
||||
Ok(envelope)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user