Willi Ballenthin ceeefda024 fix: Gzip comment with header checksum produces corrupt streams
The Gzip operation manually set the FCOMMENT flag bit after zlibjs
had already calculated the header CRC16, corrupting the checksum.
Fix by setting options.flags.fcomment before calling compress(),
letting zlibjs handle the flag internally.

Closes #2243
2026-03-24 09:32:24 +01:00
..