open-standards/wai/http-conformance/falsify/set-sink-dropped.patch

15 lines
593 B
Diff

# must fail: param_set_status_stale param_set_revoked
# a fetched set held without the sink's key log (keys::check_fetched_set)
diff --git a/wai/wai-rs/src/http_binding/keys.rs b/wai/wai-rs/src/http_binding/keys.rs
index ad1572bc..de63a97b 100644
--- a/wai/wai-rs/src/http_binding/keys.rs
+++ b/wai/wai-rs/src/http_binding/keys.rs
@@ -252,7 +252,7 @@ pub fn check_fetched_set(
prior,
std::slice::from_ref(served),
crate::pin::READABLE_FORMS,
- sink.map(|s| s as &dyn PinAuthority),
+ sink.map(|s| s as &dyn PinAuthority).filter(|_| false),
)
}