Files
x/connector
ginuerzh b8d9c79f72 fix: handle empty host in relay AddrFeature ParseFrom for bind addresses
When rtcp listener calls Router.Bind with ":8000" (port-only address),
the relay AddrFeature.ParseFrom fails because net.SplitHostPort returns
an empty host. This leaves AType at default 0, causing AddrFeature.Encode
to return ErrBadAddrType.

Fix by normalizing port-only addresses to "0.0.0.0:<port>" in both tunnel
and relay connectors before ParseFrom. Also fix error check on
resp.WriteTo in the tunnel handler's handleBind to prevent silent
protocol desync.
2026-05-31 16:00:14 +08:00
..
2024-09-20 18:20:57 +08:00
2024-10-10 22:49:56 +08:00
2025-08-05 20:24:00 +08:00
2025-08-04 19:29:38 +08:00
2024-09-20 18:20:57 +08:00
2024-10-10 22:49:56 +08:00
2024-09-20 18:20:57 +08:00
2024-09-20 18:20:57 +08:00
2024-09-20 18:20:57 +08:00