fix: IPv6 support, client address family matching, gitignore cleanup

- Client auto-detects IPv4/IPv6 from relay address and binds accordingly
- Relay defaults to 0.0.0.0:4433, use --listen [::]:4433 for IPv6
- .gitignore excludes .claude/, swap files
- Fix pipeline drain infinite loop in benchmarks

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-03-27 14:17:49 +04:00
parent 79f9ff1596
commit 3c99503eb1
4 changed files with 17 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ fn parse_args() -> RelayConfig {
eprintln!("Usage: wzp-relay [--listen <addr>] [--remote <addr>]");
eprintln!();
eprintln!("Options:");
eprintln!(" --listen <addr> Listen address (default: 0.0.0.0:4433)");
eprintln!(" --listen <addr> Listen address (default: 0.0.0.0:4433, use [::]:4433 for IPv6)");
eprintln!(" --remote <addr> Remote relay address for forwarding");
std::process::exit(0);
}