History log of /PHP-8.0/ext/standard/streamsfuncs.c (Results 276 – 300 of 318)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5c04e393 11-Oct-2004 Ilia Alshanetsky

Fixed bug #30362 (stream_get_line() not handling end string correctly).


Revision tags: php-5.0.2, php-4.3.9
# 99e290f8 17-Sep-2004 Wez Furlong

Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using se

Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.

If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).

Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.

A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).

The win32 specific parts are untested; will do that now.

show more ...


Revision tags: php-5.0.2RC1, php-4.3.9RC3
# 34550382 14-Sep-2004 Sara Golemon

Added stream_filter_remove() to cancel a stream filter.

Register filters as resources when
instantiated by stream_filter_(ap|pre)pend().

Export php_stream_filter_flush() interna

Added stream_filter_remove() to cancel a stream filter.

Register filters as resources when
instantiated by stream_filter_(ap|pre)pend().

Export php_stream_filter_flush() internal function to wind buffered data
out of a particular filter until consumed by a later filter or sent to
stream->readbuffer or stream->ops->write()

show more ...


Revision tags: PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1
# d0ce6368 06-Aug-2004 Wez Furlong

Avoid possible segfault when using stream_socket_client with bogus flags.


# 47e7fef0 31-Jul-2004 Wez Furlong

Allow win32 stuff to build non-zts.
Fix stream crypto func (again? didn't I already commit that?)


# 45ddc6a5 28-Jul-2004 Ilia Alshanetsky

Better address availability check.


# 445daac3 28-Jul-2004 Ilia Alshanetsky

Fixed possible crash in stream_socket_recvfrom() when length parameter has
a negative value.


# 17adf438 22-Jul-2004 Wez Furlong

Added stream_context_get_default() which returns the default context option.
You may then set options that affect streams operations for the whole script.

Added stream_socket_enable_cryp

Added stream_context_get_default() which returns the default context option.
You may then set options that affect streams operations for the whole script.

Added stream_socket_enable_crypto() which allows you to turn on or off a crypto
layer (eg: SSL/TLS) on stream, if supported by the underlying transport.

Registered a bunch of constants for that.

show more ...


Revision tags: RELEASE_0_1, php-5.0.0RC4, php-5.0.0, php-4.3.8
# 5232a5af 16-Jun-2004 Ard Biesheuvel

64-bit bugsquash party


Revision tags: php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1, RELEASE_0_1_1, php-5.0.0RC2, php-5.0.0RC2RC2, php-4.3.6, php-5.0.0RC2RC1, php-4.3.6RC3, php-4.3.6RC2, php-4.3.6RC1, php-4.3.5, php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1, RELEASE_0_2_0
# 81f05c18 25-Feb-2004 Ard Biesheuvel

Wordsize fixes


# b2bc5200 23-Feb-2004 Ard Biesheuvel

64-bit fixes


Revision tags: php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1, php-4.3.5RC2, RELEASE_1_3b6, php_ibase_before_split, php-4.3.5RC1
# dbeb4158 08-Jan-2004 Andi Gutmans

- A belated happy holidays and PHP 5


Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1
# 7a9cf22e 05-Dec-2003 Wez Furlong

Probable fix for #26534


# 37f135ce 29-Nov-2003 Wez Furlong

Add stream_socket_sendto and stream_socket_recvfrom which work very much
like sendto() and recvfrom() syscalls.


# e1bdc33d 28-Nov-2003 Ilia Alshanetsky

More memory leak fixes for stream contexts.


# 43698d6d 27-Nov-2003 Wez Furlong

initialize this one to be safe


# 3ab8d263 03-Nov-2003 Derick Rethans

- Always store the URI path in the streams structure, and expose it with
stream_get_meta_data().


Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3
# 628afb40 08-Oct-2003 Wez Furlong

Implement stream_get_contents, which is somewhat akin to file_get_contents,
except that it works on an already opened stream.


Revision tags: BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2
# 7eea6525 22-Jul-2003 Jason Greene

Fix EINVAL errors for OS's (Solaris + BSD) that do not appreciate microseconds >= 1 second
Patch submitted from meebery@php.net


Revision tags: php-5.0.0b1
# 5ecc91c2 28-Jun-2003 Wez Furlong

Merge selectable descriptor casting from PHP_4_3 branch.


# 2e4ef86e 27-Jun-2003 Sara Golemon

MFB
Plug leak in context notifiers, implement notifier->dtor


# 496d17b9 19-Jun-2003 Sara Golemon

Quiet down decode_context_param when stream (not context) is passed.
Switch stream_socket_*() to use macro for retrieving context from zval.


# 7ef01f01 19-Jun-2003 Ilia Alshanetsky

Reverting previous patch (not necessary, thanks Pollita ;) )


# a370ceb7 19-Jun-2003 Ilia Alshanetsky

Fixed memory leak, when invalid context is specified.


# cbfb63c1 19-Jun-2003 Ilia Alshanetsky

Fixed possible crashes in streams code


1...<<111213