harden federation: sanitize incoming AP content, fix error handling, tighten rate limits
This commit is contained in:
@@ -45,8 +45,8 @@ impl k_ap::EventPublisher for FederationEventBridge {
|
||||
.await
|
||||
.map_err(|e| anyhow::anyhow!(e.to_string()))
|
||||
}
|
||||
other => {
|
||||
tracing::debug!("ignoring federation event: {:?}", other);
|
||||
FederationEvent::DeliveryFailed { inbox, error, .. } => {
|
||||
tracing::warn!(inbox = %inbox, error = %error, "federation delivery failed permanently");
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user