Changes with Apache 2.0.48
+ *) Fix mod_deflate so that it does not call deflate() without checking
+ first whether it has something to deflate. (Currently this causes
+ deflate to generate a fatal error according to the zlib spec.)
+ PR 22259. [Stas Bekman]
+
*) mod_ssl: Fix FakeBasicAuth for subrequest. Log an error when an
identity spoof is encountered.
[Sander Striker]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/08/13 21:09:38 $]
+Last modified at [$Date: 2003/08/13 21:14:13 $]
Release:
[ please place file names and revisions from HEAD here, so it is easy to
identify exactly what the proposed changes are! ]
- * Fix mod_deflate so that it does not call deflate() without checking
- first whether it has something to deflate. (Currently this causes
- deflate to generate a fatal error according to the zlib spec.)
- PR 22259. [Stas Bekman]
- http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/filters/mod_deflate.c.diff?r1=1.35&r2=1.36
- +1: stas, jwoolley, nd
-
* Correct the code in ap_check_cache_feshness to check max_age, smax_age,
and expires correctly. This is a RFC 2616 compliance issue.
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/experimental/cache_util.c.diff?r1=1.26&r2=1.27
if (APR_BUCKET_IS_FLUSH(e)) {
apr_bucket *bkt;
apr_status_t rv;
-
- zRC = deflate(&(ctx->stream), Z_SYNC_FLUSH);
- if (zRC != Z_OK) {
- return APR_EGENERAL;
+ if (ctx->stream.avail_in > 0) {
+ zRC = deflate(&(ctx->stream), Z_SYNC_FLUSH);
+ if (zRC != Z_OK) {
+ return APR_EGENERAL;
+ }
}
ctx->stream.next_out = ctx->buffer;