Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4 Fix name clash with other zlib related apache modules

open
nobody
5
2003-04-25
2003-04-25
No

Apache was segfaulting frequently after loding mod_gzip.
That was due to name clash with other modules like
php-zlib.

Same symbol names in php-zlib and mod_gzip - that was
causing segfault in for example longest_match() from zlib
(instead of using mod_gzip version of longest_match zlib
version was used).

Fix is to make all mod_gzip_compress.c functions and
variables static (visible only to mod_gzip) and rename
gzp_main.

Attached patch fixes that. Tested.

Discussion