zed/crates/dap/src
moktamd 5aa7eaa508
dap: Support IPv6 addresses in TCP transport (#52244)
The DAP TCP transport layer was hardcoded to `Ipv4Addr`, so IPv6
addresses like `fd00::a` in a debug config's `connect.host` always
failed with `hostname must be IPv4: invalid IPv4 address syntax`.

Replaced `Ipv4Addr` with `IpAddr` and `SocketAddrV4` with `SocketAddr`
across the `task`, `dap`, `dap_adapters`, and `project` crates. The WASM
extension API still uses `u32` for the host field to avoid a breaking
WIT interface change; IPv4 round-trips through extensions as before.

Fixes #52237

Release Notes:

- Fixed DAP TCP transport rejecting IPv6 addresses when connecting to
remote debug adapters.

---------

Co-authored-by: moktamd <moktamd@users.noreply.github.com>
2026-04-27 08:42:45 +00:00
..
adapters.rs dap: Support IPv6 addresses in TCP transport (#52244) 2026-04-27 08:42:45 +00:00
client.rs Bump Rust version to 1.94 (#51086) 2026-03-30 09:06:59 +00:00
dap.rs dap: Support IPv6 addresses in TCP transport (#52244) 2026-04-27 08:42:45 +00:00
debugger_settings.rs Automate settings registration (#42238) 2025-11-07 22:27:14 +00:00
inline_value.rs debugger: Generate inline values based on debugger.scm file (#33081) 2025-06-24 18:24:43 +00:00
proto_conversions.rs dap: Make ProtoConversion::to_proto consume self (#47871) 2026-01-28 16:00:52 +00:00
registry.rs Revert "Revert scheduler update (#46659)" (#46671) 2026-01-14 07:19:13 +00:00
transport.rs dap: Support IPv6 addresses in TCP transport (#52244) 2026-04-27 08:42:45 +00:00