A remote magpie on an IPv6-only address worked, then stopped until magpie
restarted. v4Fallback marks a host:port whose IPv6 connection ended before a
byte came back and dials it over tcp4 for 30 minutes; for a host with no IPv4
that dial can only fail, so every request failed for the whole window. Now a
failed tcp4 dial clears the mark and goes on over tcp at once, and an IPv6
literal address is never marked.
Run (wsl-run, magpie-desktop; mote's disk was full): go test ./internal/netproxy,
go vet for linux, windows and darwin, gofmt. TestIPv6OnlyHostRecovers (an A
record that fails, an AAAA that serves on [::1], a prior mark) fails on the old
code and with clearV4 commented out (mark kept). Not tried: a real IPv6-only
remote magpie, the full suite, GUI tests (no GUI change). No per-remote
"IPv6 only" setting: the cause is fixed instead.