Skip to main content

http_zstd_window_log_max

Function http_zstd_window_log_max 

Source
pub fn http_zstd_window_log_max(max_decompressed_size: usize) -> Option<u32>
Expand description

Like zstd_window_log_max but additionally clamped to the RFC 9659 HTTP window ceiling (HTTP_ZSTD_WINDOW_LOG_MAX). Use for HTTP Content-Encoding: zstd; use the protocol-neutral zstd_window_log_max for transports RFC 9659 does not govern.