]> granicus.if.org Git - apache/commit
Fix 'Content-Encoding: gzip' missing if the first brigade passed to
authorStefan Fritsch <sf@apache.org>
Tue, 13 Sep 2011 20:17:18 +0000 (20:17 +0000)
committerStefan Fritsch <sf@apache.org>
Tue, 13 Sep 2011 20:17:18 +0000 (20:17 +0000)
commit54fbfc82ade47df2f9c6b5d8d59522bbeac22d7d
treeba57bff14321f34b3120e291c786b7d71661a415
parent1c47c3387836b2857f0ad46b1b16777543610b93
Fix 'Content-Encoding: gzip' missing if the first brigade passed to
deflate_out_buffer contained zero data bytes but no EOS bucket.

Don't compress if the added headers and checksums are larger than
the data to compress (and we know the size of the data in advance).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1170330 13f79535-47bb-0310-9956-ffa450edef68
modules/filters/mod_deflate.c