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/tsnet
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>
8 months ago
..
example tsnet: add option to run integrated web client 1 year ago
example_tshello_test.go tsnet: add examples (#8289) 1 year ago
example_tsnet_test.go tsnet: add examples (#8289) 1 year ago
tsnet.go all: use zstdframe where sensible (#11491) 8 months ago
tsnet_test.go tsnet: add CapturePcap method for debugging 12 months ago