/[Apache-SVN]
ViewVC logotype

Revision 756683


Jump to revision: Previous Next
Author: rjung
Date: Fri Mar 20 17:42:26 2009 UTC (15 years, 3 months ago)
Changed paths: 1
Log Message:
When trying to detect the content type of the
uncompressed content it is often not enough
to read the same number of bytes, we already
read compressed. Since uncompress() allocates a
new buffer, we can increase the number of bytes
to read to the same size, we use in the case,
where the content isn't compressed.

Furthermore zero-terminate the read data to keep
assumptions consistent with the uncompressed case.


Changed paths

Path Details
Directoryhttpd/httpd/trunk/modules/metadata/mod_mime_magic.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26