Files
x/internal/util
ginuerzh f09a7a69b3 fix(sniffing): return early on empty SNI to avoid 'missing port in address' errors (#645)
When TLS ClientHello has no SNI extension (ServerName is empty),
normalizeHost returns empty string. Both sniffer_tls.go paths (sniffing
and forwarder packages) previously still called dial with an empty host,
cascading 'missing port in address' errors through connector, router,
and service layers.

Now returns early with a debug-level log, silently closing the
connection instead of attempting to dial upstream.
2026-06-05 20:46:00 +08:00
..
2023-10-19 23:47:47 +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-08-29 23:36:31 +08:00
2022-03-14 20:27:14 +08:00
2025-07-26 16:17:04 +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