v0.43.1
This commit is contained in:
1 parent
5b6d4a7903
commit
4d1087e357
160 files changed
+2407
-1933
No files matched your search
@@ -192,8 +192,6 @@ impl CompiledPolicy {
|
||||
pub fn has_stage(&self, stage: Stage) -> bool {
|
||||
self.rules.iter().any(|r| r.stage == stage)
|
||||
}
|
||||
/// A backend response selected or changed using client-specific facts must
|
||||
/// not be admitted to a shared cache merely because it has a public TTL.
|
||||
pub fn requires_private_response(&self) -> bool {
|
||||
self.private_response
|
||||
}
|
||||
@@ -608,7 +606,6 @@ pub(super) fn compile(settings: &Settings) -> Result<CompiledPolicy> {
|
||||
<= 1024,
|
||||
"at most 1024 policy map entries per scope"
|
||||
);
|
||||
// Bound total regex programs, including converters, before allocation.
|
||||
fn regex_count(c: &Condition) -> usize {
|
||||
match c {
|
||||
Condition::All { all } | Condition::Any { any: all } => {
|
||||
@@ -667,8 +664,6 @@ pub(super) fn compile(settings: &Settings) -> Result<CompiledPolicy> {
|
||||
expression::identifier(name),
|
||||
"invalid policy ACL name {name:?}"
|
||||
);
|
||||
// Unused definitions must still be well formed, and cycles must never
|
||||
// become latent errors activated by a later edit.
|
||||
condition(
|
||||
acl,
|
||||
Stage::AfterResponse,
|
||||
|
||||
Reference in new issue
Block a user