Commit Graph

10 Commits

Author SHA1 Message Date
foobar
71adb81e96 nuking that file was not very good idea :) 2005-04-27 08:10:41 +00:00
foobar
d0f85d3e27 - Added test: For some reason this fails with ZTS mode and "outside-src-tree-build" 2005-04-25 14:04:00 +00:00
Sara Golemon
5289adbe99 Add zlib stream filter support 2004-07-17 00:05:31 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
Stefan Roehrich
6206837929 Code cleanup:
Fixed ob_gzhandler with register_long_arrays = On.
Unified compression_coding global var (removed ob_gzip_coding).
Switched to zend_parse_parameters().
Added some tests.
2003-09-06 15:31:35 +00:00
Wez Furlong
ca6b002e4c MFB: zlib stream tests 2002-12-09 16:43:15 +00:00
Stefan Roehrich
edcb5813db (PHP gzencode) Reimplementation of gzencode(). Now works as documented
(gzencode(string data [, int level [, int encoding_mode]])),
               should fix #15930.
@- The second parameter of gzencode() now is the compression level like
@  in the documentation. The encoding mode is a third (optional) parameter.
# Rework of gzencode(), output should be closer to real gzip output.
# I think in the old version there could be some problems with
# this function and output compression, should be fixed, too.
2002-03-12 13:23:58 +00:00
Stefan Roehrich
cede952f6a (PHP gzinflate) Workaround for bug #14939 (buffer error in gzinflate()).
Fixed prototype and added test for #14939.

# We have extra \0 if the input comes directly from gzdeflate()
# so give one extra byte as length to workaround behaviour of zlib.
# I want to avoid copying the input, but if there are problems,
# please tell (see my message <20020310175611.GA4472@stefan.roehri.ch> to
# php-dev).
2002-03-12 13:06:40 +00:00
Thies C. Arntzen
15f55b5e56 change test-name 2001-07-13 15:49:18 +00:00
Thies C. Arntzen
d30590369a make sure all string from zlib are \0 terminated.
change one realloc to erealloc (though this code is never reached IMHO)
add regression tests
2001-07-13 15:48:37 +00:00