Total Size Of Requested Files Is Too Large For Zip-on-the-fly Today
(only per-file read buffer). Limitation: Output size ≈ sum of input sizes. Still fails if Content-Length cannot be precomputed. 4.2 Level 2: Chunked Deflate with CRC Precomputation Best for: Text files, logs, or data that needs compression but cannot fit in memory.
archive.finalize();
Pre-scan each file to compute CRC32 and size without storing the compressed data. Then write ZIP entries in a single sequential pass using HTTP chunked encoding. (only per-file read buffer)