zwass
tls_gzip that would control both requests and responses but then I realized that could end up being problematic if we want to turn it on by default and not all servers support gzip. I think the viable paths are:
1) Single flag, never enabled by default (or maybe enabled by default in a major version release? with documentation that servers MUST support it?)
2) Separate flags for requests/responses, with requests enabled by default in a future release (server can always choose to ignore and return an uncompressed response)
What are your thoughts?Lucas Rodriguez
12/16/2025, 9:20 PM(server can always choose to ignore and return an uncompressed response)Though the requests may fail if gzip decoding is not supported by the server, maybe at this point almost all flavors of servers do support it? In any case, users can turn gzip encoding on requests when this happens.
Lucas Rodriguez
12/16/2025, 9:20 PMLucas Rodriguez
12/16/2025, 9:21 PMzwass
seph
seph
seph
seph
zwass
seph
zwass
tls_accept_gzip (default false right now, default true once we build confidence in the stability)
tls_send_gzip (default false for the foreseeable future)Lucas Rodriguez
12/16/2025, 9:36 PMtls_accept_gzip=false?zwass
zwass
Lucas Rodriguez
12/16/2025, 9:37 PMLater, in case they decide they don't want to use the CPU on decompression? Or if a critical bug comes up?Good point.
zwass
zwass
tls_accept_gzip flag and future work handles the rest.seph
tls_accept_gzip=false. But I don't have a great suggestion and maybe this is really a complaint about GFLAG anyhowseph
zwass
Lucas Rodriguez
12/17/2025, 1:33 PMdistributed/write requests usually have very large bodies (query responses), so compression would be even more handy here.
But I'm guessing it's a bit more challenging because AFAICS the only way to know for sure if a server supports gzip decoding is by running a probe request before the actual request.seph
seph
zwass