You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Route unrecognised protocol-version headers to the modern entry; swap header-mismatch ahead of version-supported
The conformance harness sends header=v999.0.0 (matching the body) to trigger
UnsupportedProtocolVersionError, and header=2026 with body=v999 to trigger
HeaderMismatch. With the manager only routing on header in MODERN_PROTOCOL_VERSIONS,
the first case fell through to the legacy stateful path and never reached the
classifier; with the classifier checking version-supported before header-match,
the second case returned -32022 instead of -32020.
Manager now routes any non-legacy header value to the modern entry (the
classifier owns rejection of unknown versions). Classifier now checks
header-body agreement before version-supported, so a client that disagrees
with itself is told so rather than told its body version is unsupported.
Also: 3 dead test-helper lines (registered-but-never-invoked handler bodies
and a never-read property on a stub) replaced per the testing-standards
convention.
0 commit comments