ginuerzh
f8ddb193cb
refactor(handler/forward/remote): split handler into 6 focused files with 41 tests
Split the 339-line handler monolith and 1169-line test blob into 11 files
(5 source + 6 test) following the handler/forward/local/ pattern.
Source files: handler.go (core), forward.go (raw forwarding),
sniffing.go (SnifferBuilder + protocol dispatch), util.go (errors +
recorder + rate limit), metadata.go (config parsing).
Fixes: add sync.Mutex for hop access (race), use sentinel errors for
errors.Is compatibility, add nil-addr guard in checkRateLimit, reuse
SnifferBuilder via Build() instead of per-call construction.
2026-05-30 16:27:20 +08:00
..
2026-05-26 20:44:23 +08:00
2024-10-02 22:51:23 +08:00
2026-05-26 21:22:19 +08:00
2026-05-27 22:49:59 +08:00
2026-05-30 16:27:20 +08:00
2026-05-29 00:14:44 +08:00
2026-05-28 23:20:27 +08:00
2025-08-29 23:36:31 +08:00
2026-05-21 22:50:29 +08:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2025-08-04 19:29:38 +08:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2026-05-22 21:40:33 +08:00
2026-04-21 20:49:28 +08:00
2025-11-11 12:37:33 +08:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2026-05-24 17:51:16 +08:00
2025-08-29 23:36:31 +08:00