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>
2021-07-29 12:56:28 -07:00
..
doh_test.go net/dns/resolver: fall back to IPv6 for well-known DoH servers if v4 fails 2021-07-21 12:45:25 -07:00
forwarder.go net/dns/resolver: EDNS OPT record off-by-one 2021-07-27 16:39:27 -07:00
macios_ext.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 2021-06-23 16:04:10 -07:00
neterr_darwin.go net/dns/resolver: permit larger max responses, signal truncation 2021-06-08 19:29:12 -04:00
neterr_other.go net/dns/resolver: fmt item 2021-06-27 23:57:55 -07:00
neterr_windows.go net/dns/resolver: permit larger max responses, signal truncation 2021-06-08 19:29:12 -04:00
tsdns_server_test.go net/dns/resolver: clamp EDNS size 2021-06-25 08:56:34 -04:00
tsdns_test.go net/dns/resolver: allow an extra alloc for go closure allocation 2021-07-29 12:56:28 -07:00
tsdns.go net/dns/resolver: race well-known resolvers less aggressively 2021-07-25 20:45:47 -07:00