FAILURE MAP
← Case archive

FA-7536 / Multiplexed protocols / Open access

Http2 reset releases only the target stream · case 01

Http2 reset releases only the target stream.

Verified by executionVariant 1 · 4 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

The faulty implementation uses `[]` for the http2-reset-releases-only-the-target-stream decision.

VERIFIED REPAIR

Apply the explicit http2-reset-releases-only-the-target-stream contract, including the tested boundary and negative cases.

Unsuccessful approach: The attempted repair uses `streams` and still violates a separate fixture.

Case contract

Bounded offline decision model: http2 reset releases only the target stream. Inputs are already validated protocol fields; the explicit fixtures define the supported policy, not a complete protocol implementation.

Why this case matters

This deterministic multiplexed protocols model isolates the http2-reset-releases-only-the-target-stream policy at a network component boundary.

1 / The failure

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(streams, target):
    return []
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve([1, 3, 5], 3), [1, 5])", "check('fixture 2', solve([], 3), [])", "check('fixture 3', solve([1], 1), [])", "check('fixture 4', solve([1], 3), [1])"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
    exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
fixture 2[][]Passed
fixture 3[][]Passed
fixture 4[][1]Failed
fixture 1[][1, 5]Failed

SHA-256 / 8543f8b69a4bd5a7ca9911c2b748590a18b6ceef5e80a1ef0f42bfd35e9ba746

2 / The unsuccessful fix

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(streams, target):
    return streams
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve([1, 3, 5], 3), [1, 5])", "check('fixture 2', solve([], 3), [])", "check('fixture 3', solve([1], 1), [])", "check('fixture 4', solve([1], 3), [1])"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
    exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
fixture 2[][]Passed
fixture 3[1][]Failed
fixture 4[1][1]Passed
fixture 1[1, 3, 5][1, 5]Failed

SHA-256 / 5ea6b6bdecdc1486040477b25328536f76e11cfb1a3a05fdcc54346390f95270

3 / The verified repair

Exit 0
"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(streams, target):
    return [s for s in streams if s != target]
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve([1, 3, 5], 3), [1, 5])", "check('fixture 2', solve([], 3), [])", "check('fixture 3', solve([1], 1), [])", "check('fixture 4', solve([1], 3), [1])"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
    exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
fixture 2[][]Passed
fixture 3[][]Passed
fixture 4[1][1]Passed
fixture 1[1, 5][1, 5]Passed

SHA-256 / 5c0fe02ac0532489d4e29f2142241ca928547c0134a2f6f221fef786246f3d38

Verification & scope

Bounded deterministic policy model over validated inputs; not a complete protocol stack or an interoperability claim. The five variants rotate the same explicit fixture set. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.

Observations recorded using Python 3.12.14 at 2026-09-29T14:38:12.955422+00:00.

Case digest / 6fe0750b7cfb72f7a623933e9bce70d4661202cec97ee7f75f0703c3204ffcc0