Upload and mod_zip

Gabriel Ramuglia gabe at vtunnel.com
Thu Aug 21 13:50:15 MSD 2008

There are good ways to calculate the crc32 in php if you look at the
php.net documentation comments. Plus, you only have to calculate it
once, and store it in a database, which would help greatly if you're
not doing that currently.

I know that the old version of mod_zip used to do the crc calculations
for you (it no longer does so that it can properly support resuming
downloads and byte ranges), perhaps that bit of code could be ripped
out and put into the upload module?

On Thu, Aug 21, 2008 at 5:33 AM, Daniel <daniel at telesat.co.jp> wrote:
> Hi,
> I'm testing a configuration using Upload module and mod_zip. And found
> that in Upload module would be very usefull to have a
> upload_aggregate_form_field for CRC32, CRC32 value is used in mod_zip to
> compress the downloading zip file.
> Now i'm doing the CRC32 calculation in PHP. But It should be faster
> inside the module.
> Tuqui

More information about the nginx mailing list