tailscale/ipn/localapi
Percy Wegmann da480e8529
ipn/localapi: reuse buffer for encoding JSON in serveWatchIPNBus
Reuse a single byte buffer for JSON encoding all notifications
to the same subscriber. This retains more memory, but produces
less garbage.

Updates tailscale/corp#18514

Signed-off-by: Percy Wegmann <percy@tailscale.com>
2024-03-21 07:26:52 -05:00
..
cert.go ipn/ipnlocal: do unexpired cert renewals in the background 2023-10-12 16:02:45 -07:00
debugderp.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
disabled_stubs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
localapi_test.go ipn/localapi: only perform local-admin check in serveServeConfig (#10163) 2023-11-09 12:55:46 -08:00
localapi.go ipn/localapi: reuse buffer for encoding JSON in serveWatchIPNBus 2024-03-21 07:26:52 -05:00
pprof.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00