gost/tests/e2e/testdata
ginuerzh 43724a5c40 test: add http2 handler e2e suite and tighten host-mapper + idle-timeout tests
Add tests/e2e/http2_test.go covering the http2 handler/listener/connector/dialer
end-to-end through the canonical gost-as-client pattern (8 subtests: forward,
auth, bypass, probeResist/metadata, h2 stream multiplexing). Include
testdata/http2/{server,server_auth,server_bypass,server_proberesist,client,
client_auth}.yaml. Note that h2/h2c listeners pair with the tunnel handler
and only http2 listener pairs with handler http2 (reads r/w from metadata).

Tighten TestDNSHostMapper by pointing the handler at an unreachable upstream
so unmapped names fail at the exchanger, confirming the host-mapper path was
the sole reason mapped names resolved. Fix http_idle_timeout.py to speak HTTP
through the CONNECT tunnel rather than a raw ping, matching the echo backend.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-27 20:15:31 +08:00
..
dns test: add http2 handler e2e suite and tighten host-mapper + idle-timeout tests 2026-06-27 20:15:31 +08:00
file feat: add file handler e2e tests covering GET, PUT, index, auth, and 404 2026-06-26 22:19:13 +08:00
forward feat: add comprehensive forward handler e2e tests 2026-06-27 13:59:22 +08:00
http feat: add comprehensive HTTP e2e tests covering connector, TLS, probeResist, idleTimeout, and UDP relay 2026-06-26 22:00:35 +08:00
http2 test: add http2 handler e2e suite and tighten host-mapper + idle-timeout tests 2026-06-27 20:15:31 +08:00
parallel_selector WIP 2026-04-26 22:18:07 +08:00
shadowsocks Add e2e test cases for shadowsocks 2026-05-22 14:28:17 +08:00