mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-03 04:25:26 +00:00

The "single-segment" mode encodes the expected uncompressed size in the zstd frame, which the server can use as an optimization. Also, add a new Config.CompressTransport flag. Compression is an implementation detail of log uploading. It could be zstd today or a different format in the future. Most users of logtail should not care what compression is used. Signed-off-by: Joe Tsai <joetsai@digital-static.net>