1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

protect 'AP_DECLARE_MODULE(deflate)' from expansion to

'AP_DECLARE_MODULE(z_deflate)' if zlib has been built with
-DZ_PREFIX.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1495825 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Covener
2013-06-23 14:56:27 +00:00
parent fe5b2c6264
commit 231d3a9278
2 changed files with 8 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
-*- coding: utf-8 -*-
Changes with Apache 2.5.0
*) mod_deflate: permit compilation of mod_deflate against a zlib that has
been configured with -D Z_PREFIX, which redefines the token "deflate".
[Eric Covener]
*) mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size
previously limited to 64MB. [Jens Låås <jelaas gmail.com>]

View File

@@ -1551,6 +1551,10 @@ static const command_rec deflate_filter_cmds[] = {
{NULL}
};
/* zlib can be built with #define deflate z_deflate */
#ifdef deflate
#undef deflate
#endif
AP_DECLARE_MODULE(deflate) = {
STANDARD20_MODULE_STUFF,
NULL, /* dir config creater */