History log of /PHP-5.5/ext/zlib/zlib.c (Results 101 – 125 of 262)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.3.1
# 0a18a9d7 16-Feb-2003 Wez Furlong

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file de

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library. In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.

show more ...


# 21f766b7 10-Feb-2003 Moriyoshi Koizumi

Fixed zlib.output_compression so it can work even if zlib extension is built as shared


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 72b356c1 18-Jan-2003 Ilia Alshanetsky

Removed pointless memory allocation checks.


# b506f5c8 31-Dec-2002 Sebastian Bergmann

Bump year.


# abc4b4bb 31-Dec-2002 Wez Furlong

Fix for #21304 (gzopen did not report errors on open; "a" mode broken)


# 87a8b040 31-Dec-2002 Ilia Alshanetsky

Fix ZTS build.


# 0acb52fc 30-Dec-2002 Ilia Alshanetsky

Fixed bug #21228 (broken check for ob_gzhandler).
Fixed a bug that made ob_start return incorrect return value.


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3
# e50dc16b 01-Dec-2002 Stefan Roehrich

Comment about maximal length now matches code.


Revision tags: php-4.3.0RC2, RELEASE_1_0b2
# ca58966a 18-Nov-2002 Wez Furlong

Merge streams changes from branch.


Revision tags: BEFORE_RENAMING, php-4.3.0RC1
# 7f5d9820 03-Nov-2002 Moriyoshi Koizumi

Fixed OnUpdate_zlib_output_compression() behaviour


Revision tags: php-4.3.0pre2, RELEASE_1_0b1, php-4.3.0pre1
# 22bf2938 03-Oct-2002 Yasuo Ohgaki

Move wrong output buffer usage check to ob_gzhandler init.
Export some output buffer functions.


Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# d4bba6d1 02-Oct-2002 Marcus Boerger

Revisted Wez patch: chunk_size 0 means cahce the whole output. So
we must apply the default before calling php_enable_output_compression().
I have left the default setting in the rinit functi

Revisted Wez patch: chunk_size 0 means cahce the whole output. So
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.

show more ...


# 4356932d 30-Sep-2002 Wez Furlong

Fix infinite recursion bug when using zlib output compression.
Cause: the chunk size is taken from the zlib.output_compression setting,
which is 0 or 1. This causes the block_size for output

Fix infinite recursion bug when using zlib output compression.
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.

show more ...


Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3
# 63922169 03-Sep-2002 foobar

Use zend_ini_string instead of the 'alias'.


Revision tags: php-4.2.3RC2, php-4.2.3RC1
# a6e8e723 23-Aug-2002 Zeev Suraski

Fix ob_gzhandler()'s handling of requests w/o compression but that do have
the Accept-Encoding header


# a388ab62 22-Aug-2002 Wez Furlong

Fix error messages.


# 0ea1dda8 22-Aug-2002 Stefan Roehrich

Fixed prototype.
Fixed double printing of function name in docref error messages.


# f15b4c1e 20-Aug-2002 Marcus Boerger

change to php_error_docref()
#documentation about output relevant ini settings will be in ref.outcontrol


# fdf514f4 20-Aug-2002 Marcus Boerger

Changed handling of output buffer sizes.


# 42355837 11-Aug-2002 Yasuo Ohgaki

Changed my mind.
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. (

Changed my mind.
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)

show more ...


# 02ed7058 11-Aug-2002 Yasuo Ohgaki

Generally speaking, sending packets less than 1KB is not efficient.
We're better to take some benchmarks see if removing extra buffer
is actually a good idea or not.


# 21903dfc 10-Aug-2002 Marcus Boerger

corrected handling of internal output buffers
minor fixs


# ff63bf2a 10-Aug-2002 Marcus Boerger

no need to start additional first buffer when output compression is first buffer


# 28960797 10-Aug-2002 Marcus Boerger

should fix all windows warnings


# 9c8ba935 09-Aug-2002 Marcus Boerger

Improved handling of output buffers (see news)\n#No trim for the string parameter...


1234567891011