Constant max_window_len [src]

When decompressing, the output buffer is used as the history window, so less than this may result in failure to decompress streams that were compressed with a larger window.

Source

pub const max_window_len = history_len * 2