Files
shoes/tests/cases
cfal a25aa5efad Cover XHTTP matching headers with Xray and Mihomo clients
Requiring a secret header is the main reason to set matching_headers, but
only shoes-to-shoes tests exercised it. Run pinned Xray and Mihomo Alpha
clients against a Shoes server that requires X-Tunnel-Key: all three modes
on H2, plus packet-up on H1 and H3. Packet-up issues a GET and many POSTs
per session, and H1 uses Xray's raw-request upload path, so each request
type must carry the header. Payloads are checked byte for byte as in the
other matrix cases.

Clients that omit the header or send a wrong value must fail without the
destination being dialed, reusing the wrong-UUID assertions.

Xray replaces top-level xhttpSettings with extra except host, path and
mode, so the header goes under extra like the fixture's other settings.
2026-10-22 05:37:57 +00:00
..