fix: interrupt revoked Plugin transports and enforce full control-plane exclusions

This commit is contained in:
2026-10-30 05:28:51 +09:00
parent 479bf0872a
commit 9f13446afd
7 changed files with 506 additions and 41 deletions
+6
View File
@@ -44,6 +44,12 @@ pub trait PluginHostOwner: Send + Sync {
}
}
/// Finite generated-client response budget for the supported one-MiB binary
/// body, its worst-case JSON numeric-array expansion, headers and envelope.
/// Set `response_body_limit` on the injected client before constructing a Remote
/// owner; a smaller operator-selected limit may reject otherwise valid replies.
pub const PLUGIN_HOST_RESPONSE_BODY_LIMIT: usize = 4 * 1024 * 1024 + 512 * 1024;
/// Uses an injected, already configured generated client (including its existing
/// Runtime request authorizer). This adapter never creates or owns credentials.
pub struct RemotePluginHostOwner<A> {