You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/dns/resolver
Josh Bleecher Snyder 881bb8bcdc net/dns/resolver: allow an extra alloc for go closure allocation
Go 1.17 switches to a register ABI on amd64 platforms.
Part of that switch is that go and defer calls use an argument-less
closure, which allocates. This means that we have an extra
alloc in some DNS work. That's unfortunate but not a showstopper,
and I don't see a clear path to fixing it.
The other performance benefits from the register ABI will all
but certainly outweigh this extra alloc.

Fixes #2545

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
doh_test.go net/dns/resolver: fall back to IPv6 for well-known DoH servers if v4 fails 3 years ago
forwarder.go net/dns/resolver: EDNS OPT record off-by-one 3 years ago
macios_ext.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 3 years ago
neterr_darwin.go net/dns/resolver: permit larger max responses, signal truncation 3 years ago
neterr_other.go net/dns/resolver: fmt item 3 years ago
neterr_windows.go net/dns/resolver: permit larger max responses, signal truncation 3 years ago
tsdns.go net/dns/resolver: race well-known resolvers less aggressively 3 years ago
tsdns_server_test.go net/dns/resolver: clamp EDNS size 3 years ago
tsdns_test.go net/dns/resolver: allow an extra alloc for go closure allocation 3 years ago