tailscale/control
Joe Tsai 85febda86d
all: use zstdframe where sensible (#11491)
Use the zstdframe package where sensible instead of plumbing
around our own zstd.Encoder just for stateless operations.

This causes logtail to have a dependency on zstd,
but that's arguably okay since zstd support is implicit
to the protocol between a client and the logging service.
Also, virtually every caller to logger.NewLogger was
manually setting up a zstd.Encoder anyways,
meaning that zstd was functionally always a dependency.

Updates #cleanup
Updates tailscale/corp#18514

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2024-03-21 12:20:38 -07:00
..
controlbase all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
controlclient all: use zstdframe where sensible (#11491) 2024-03-21 12:20:38 -07:00
controlhttp net/wsconn: accept a remote addr string and plumb it through 2023-08-29 16:57:16 -07:00
controlknobs all: use reflect.TypeFor now available in Go 1.22 (#11078) 2024-02-08 17:34:22 -08:00