Files
x/internal/util
ginuerzh 3646c23398 refactor(forwarder): extract resolveHTTPNode and resolveTLSNode helpers, add tests
Pull node-resolution logic out of dial/dialTLS into pure resolveHTTPNode
and resolveTLSNode helpers. This separates node selection (bypass, hop,
fallback) from connection establishment, making both independently
testable. Add 21 new tests covering bypass, hop selection, nil-hop,
addr fallback, upgrade response type mismatch, websocket frames,
response body rewriting, and h2 preface validation.
2026-05-26 23:15:15 +08:00
..
2023-10-19 23:47:47 +08:00
2024-07-15 20:34:59 +08:00
2022-04-13 21:30:30 +08:00
2025-08-04 19:29:38 +08:00
2022-03-14 20:27:14 +08:00
2023-10-15 23:55:52 +08:00
2025-09-04 21:30:49 +08:00
2025-08-29 23:36:31 +08:00
2022-03-14 20:27:14 +08:00
2025-07-26 16:17:04 +08:00
2025-08-04 19:29:38 +08:00
2025-02-25 20:39:33 +08:00
2025-08-04 19:29:38 +08:00
2025-08-03 10:15:53 +08:00