1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 10:12:18 +01:00
Commit Graph

36 Commits

Author SHA1 Message Date
Arnaud Le Blanc
632c5a775f Fix "request_startup() for zlib module failed" when client does not
accepts compression and zlib.output_compression is On
2009-05-28 10:14:22 +00:00
Rasmus Lerdorf
13c65dd8f7 Argh! Please do not include entire GPL'ed packages in the PHP
distribution.  Removing test and entire phpMyAdmin distribution
in bug.tar.
2009-05-25 11:57:25 +00:00
Arnaud Le Blanc
0a9e3e3d86 MFB: Fixed #42663 (gzinflate() try to allocate all memory with truncated
data)
2009-05-14 16:17:47 +00:00
Arnaud Le Blanc
b6dc5c0574 MFH: Fix test 2009-04-19 22:02:06 +00:00
andy wharmby
39c67fe48d New gzuncompress() test.Tested on WIndows, Linux and Linux 64 bit 2009-01-23 23:31:48 +00:00
Dave Kelsey
d34a68db52 final collection of zlib tests. tested on linux, windows and linux 64 bit 2009-01-22 14:15:01 +00:00
Dave Kelsey
3fc347d251 new tests for zlib extension, tested on windows, linux and linux64 2009-01-21 15:24:16 +00:00
andy wharmby
a16133c719 New gzuncompress() test. php6 tets fails currentlly due to #47179. Tested on Windows, Linux and Linux 64 bit 2009-01-21 12:28:35 +00:00
andy wharmby
e6bca5b8a5 New gzencode() test. php6 tets fails currentlly due to #47178. Tested on Windows, Linux and Linux 64 bit 2009-01-21 11:39:14 +00:00
andy wharmby
21e8496b72 New gzinflate() error test. Tested on WIndows, Linux and Linux 64 bit 2009-01-20 23:37:50 +00:00
Dave Kelsey
ae37ab1364 new tests for zlib extension, tested on windows, linux and linux64 2009-01-19 14:03:18 +00:00
andy wharmby
056c0c4324 New zlib extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 10:08:48 +00:00
Jani Taskinen
5f7df8099a MF53: Fix tests 2008-04-08 08:45:04 +00:00
Greg Beaver
ee16647cfd MFH: fix faulty fix for Bug #40189, and provide real fix for the bug 2008-01-12 21:35:44 +00:00
Greg Beaver
ad7f030c6d fix Bug #43793: zlib filter is unable to auto-detect gzip/zlib file headers 2008-01-09 06:45:15 +00:00
Nuno Lopes
40085b06f2 changes to run-tests.php:
- change %s to %a
- make %s = [^\r\n]+
- fix tests accordingly
2007-09-14 15:28:03 +00:00
Dmitry Stogov
d3f2d039a5 Fixed test 2007-06-18 10:02:12 +00:00
Nuno Lopes
b2fa0cb89d reduce the test data size even further or when running with valgrind it times out 2007-01-03 22:32:49 +00:00
Nuno Lopes
559ab4b3f9 make this test run a little faster (is currently timeout with valgrind) 2006-12-28 19:52:37 +00:00
Antony Dovgal
9ce985bbae cosmetic improvements 2006-12-05 23:03:19 +00:00
Antony Dovgal
fd9c8d85a6 the error message is different on different OSes and zlib versions 2006-08-24 11:30:35 +00:00
Antony Dovgal
8058f9fd11 add new tests 2006-06-26 23:35:22 +00:00
Antony Dovgal
386581b3f8 add missing skipif tag 2005-12-25 22:38:14 +00:00
Sara Golemon
a420b562df MFH (r-1.2) Sync tests with new defaults 2005-11-24 04:37:47 +00:00
Michael Wallner
3bbd4b17a9 - MFH: fix bug #34821 zlib encoders fail on widely varying binary data on windows 2005-10-25 15:16:20 +00:00
Ilia Alshanetsky
d4696abdb9 Fixed tests to work with ZTS builds 2005-10-20 19:22:09 +00:00
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