open-standards/wai/http-conformance/falsify/rebind-sequence.patch

15 lines
799 B
Diff

# must fail: live_resequenced
# a media sequence number listed again with another object accepted (hls::Bindings::bind)
diff --git a/wai/wai-rs/src/http_binding/hls.rs b/wai/wai-rs/src/http_binding/hls.rs
index 1852df35..a6e2e383 100644
--- a/wai/wai-rs/src/http_binding/hls.rs
+++ b/wai/wai-rs/src/http_binding/hls.rs
@@ -989,7 +989,7 @@ impl Bindings {
}
let Some((_, cid)) = uri_cid(&s.uri) else { continue };
match next.sequences.get(&n) {
- Some((held, _)) if *held != cid => {
+ Some((held, _)) if false && *held != cid => {
return Err(PlaylistError::Rebound(format!("media sequence {n} was listed with {}, and is now listed with {}", hex(held), hex(&cid))));
}
_ => {