summaryrefslogtreecommitdiff
path: root/ext/zlib
Commit message (Collapse)AuthorAgeFilesLines
* MFH: Fixed a nasty resource/memory/disk-space leak when opening zlib filesIlia Alshanetsky2004-08-261-2/+8
| | | | | via wrapper stacking ala compress.zlib://http://...
* - Fixed bug #25385 (ob_gzhandler(): typo in sapi_add_header_ex() call)foobar2003-09-101-1/+1
|
* Compiler warning fixes.Ilia Alshanetsky2003-08-281-1/+1
|
* MFH: Fixed bug #25218 ("deflate" compressed pages had a gzip header, whichStefan Roehrich2003-08-281-4/+4
| | | | | should only be sent with "gzip" compressed pages).
* MFH: nuked unused variablefoobar2003-08-111-1/+0
|
* - MFH: Memleak fixDerick Rethans2003-08-091-3/+2
|
* MFH: Fixed bug #24827 (ob_gzhandler overrides Vary header)Ilia Alshanetsky2003-07-271-2/+2
|
* MFH: zlib fixIlia Alshanetsky2003-07-241-7/+5
|
* Make PHP_CHECK_LIBRARY use PHP_EVAL_LIBLINE which automaticallySascha Schumann2003-07-011-6/+1
| | | | | eliminates /usr/lib references
* MFH Don't add -L/usr/libSascha Schumann2003-06-271-1/+6
|
* Revert bogus commitRasmus Lerdorf2003-05-211-21/+0
|
* MFH (ob_gzhandler and zlib.output_compression should send a Content-LengthSander Roobol2003-05-211-0/+21
| | | | | header if the length of the complete compressed output is known)
* 64-bit corrections to parameters to OnUpdateInt Bug #20994 (Dave)David Hill2003-03-101-2/+2
| | | | | @64-bit corrections to parameters to OnUpdateInt Bug #20994 (Dave)
* 64-bit correction to variables passed to zend_parse_parametersDavid Hill2003-03-071-1/+1
| | | | | @64-bit correction to variables passed to zend_parse_parameters (Dave)
* MFHStefan Esser2003-03-061-7/+7
|
* MFH: fixed zlib.output_compressionMoriyoshi Koizumi2003-02-112-0/+19
|
* MFH: Bump year.Sebastian Bergmann2002-12-313-3/+3
|
* MFH: Fix for 21304 (gzopen not reporting errors, "a" mode broken).Wez Furlong2002-12-312-7/+1
|
* MFHIlia Alshanetsky2002-12-312-2/+2
|
* MFHIlia Alshanetsky2002-12-302-18/+29
|
* Centralize the fopencookie test.Wez Furlong2002-12-091-1/+0
|
* Be pedantic with the return valueWez Furlong2002-11-191-1/+1
|
* Add this test for gzreading non-compressed data.Wez Furlong2002-11-191-0/+47
|
* Remove a memset I added while debuggingWez Furlong2002-11-191-1/+0
|
* Resolve some problems with zlib streams, mostly related to opening theWez Furlong2002-11-192-13/+64
| | | | | | | stream with an invalid mode. There still seem to be some issues when reading from non-compressed files. Investigation continues.
* Remove redundant info line (all wrappers are listed near the start ofWez Furlong2002-11-181-1/+0
| | | | | the phpinfo page).
* Fixed OnUpdate_zlib_output_compression() behaviourMoriyoshi Koizumi2002-11-031-7/+7
|
* Fix for 19906.Wez Furlong2002-10-151-4/+5
| | | | | | | | gzeof has different semantics from feof, in that gzeof will return true if the read position is at EOF, even if the most recent read was 100% successful. feof will return true only (usually) if the most recent fread failed.
* Don't use streams-level buffer on zlib streams.Wez Furlong2002-10-151-1/+3
|
* Make zlib-dir actually mean something during the checkRasmus Lerdorf2002-10-071-1/+3
|
* Argh! Revert. I'm on drugs. Was linking in a newer libz when I checkedRasmus Lerdorf2002-10-071-2/+6
| | | | | this.
* Oops, should still define that. Didn't think I needed it as nothing inRasmus Lerdorf2002-10-071-0/+2
| | | | | ext/zlib checks it, but it is checked elsewhere.
* This restriction is no longer true after the streams changes.Rasmus Lerdorf2002-10-071-7/+1
|
* This seems to resolve the issues with fgets.Wez Furlong2002-10-051-6/+6
| | | | | | | | I've moved EOF detection into the streams layer; a stream reader implementation should set stream->eof when it detects EOF. Fixed test for user streams - it still fails but that is due to an output buffering bug.
* Move wrong output buffer usage check to ob_gzhandler init.Yasuo Ohgaki2002-10-031-0/+18
| | | | | Export some output buffer functions.
* Revisted Wez patch: chunk_size 0 means cahce the whole output. SoMarcus Boerger2002-10-021-2/+4
| | | | | | | we must apply the default before calling php_enable_output_compression(). I have left the default setting in the rinit function even though i do think it is not necessary.
* Fix infinite recursion bug when using zlib output compression.Wez Furlong2002-09-301-0/+2
| | | | | | | | | | Cause: the chunk size is taken from the zlib.output_compression setting, which is 0 or 1. This causes the block_size for output buffer to be set to 0 (1 / 2) and thus causes infinite recursion in php_ob_allocate(). Solution: use a value of 0 for the chunk size which will use the default sizes. Also add a sanity check which will default the block_size to 1 if it ends up as 0.
* Rename file_get_wrapper_data -> file_get_meta_data.Wez Furlong2002-09-261-3/+5
| | | | | | | | | | It now always returns useful information for all streams. Unified that data with socket_get_status and made socket_get_status an alias for file_get_meta_data. Fix Location header following which was broken in this commit: http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h
* Implement read buffering in streams.Wez Furlong2002-09-231-14/+11
| | | | | | | | | | | | Eliminate similar code from network.c. Implement fgets equivalent at the streams level, which can detect the mac, dos and unix line endings and handle them appropriately. The default behaviour is unix (and dos) line endings. An ini option to control this behaviour will follow. # Don't forget to make clean! # I've done some testing but would appreciate feedback from # people with scripts/extensions that seek around a lot.
* @- Added --disable-all configure option. (Jani)foobar2002-09-041-3/+3
|
* Use zend_ini_string instead of the 'alias'.foobar2002-09-031-1/+1
|
* Fix ob_gzhandler()'s handling of requests w/o compression but that do haveZeev Suraski2002-08-231-4/+2
| | | | | the Accept-Encoding header
* *cough*Wez Furlong2002-08-221-1/+1
|
* Fix error messages.Wez Furlong2002-08-222-2/+3
|
* Fixed prototype.Stefan Roehrich2002-08-221-15/+16
| | | | | Fixed double printing of function name in docref error messages.
* change to php_error_docref()Marcus Boerger2002-08-201-17/+17
| | | | | #documentation about output relevant ini settings will be in ref.outcontrol
* Changed handling of output buffer sizes.Marcus Boerger2002-08-201-17/+9
|
* Changed my mind.Yasuo Ohgaki2002-08-111-2/+0
| | | | | | | Let users decided whether users want larger chunk size or not. @ Changed zlib.output_compression behavior. If larger chunk is preferred, enable output_buffering also. (Marcus, Yasuo)
* Generally speaking, sending packets less than 1KB is not efficient.Yasuo Ohgaki2002-08-111-1/+3
| | | | | | We're better to take some benchmarks see if removing extra buffer is actually a good idea or not.
* corrected handling of internal output buffersMarcus Boerger2002-08-101-3/+1
| | | | | minor fixs