History log of /PHP-8.2/main/streams/streams.c (Results 301 – 325 of 365)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ed5dcbff 10-Sep-2004 Sara Golemon

A little extra code to allow overriding plainfiles wrapper as well


# 955b43ba 10-Sep-2004 Sara Golemon

Add stream_wrapper_unregister()
Disables a wrapper (user-defined or built-in) for the life of the request.

Add stream_wrapper_restore()
Restores the wrapper originally defined at the

Add stream_wrapper_unregister()
Disables a wrapper (user-defined or built-in) for the life of the request.

Add stream_wrapper_restore()
Restores the wrapper originally defined at the time the request started
to the protocol name mentioned.

show more ...


# d179ac77 08-Sep-2004 Sara Golemon

Handle maxlen when stream can't be mmaped


Revision tags: PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2
# fd6d9cbe 31-Aug-2004 Antony Dovgal

fix bug #29723 (file_get_contents() fails with the file:// wrapper under Win32)


Revision tags: php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1, RELEASE_0_1, php-5.0.0RC4, php-5.0.0
# 971fcd42 13-Jul-2004 Wez Furlong

Looks like Sara forgot to change this too.


Revision tags: php-4.3.8
# ae40d0ef 12-Jul-2004 Wez Furlong

Fix file_get_contents() bug...


# cd732f1a 10-Jul-2004 Wez Furlong

RIP: greedy ready problems
This allows people to use fread($fp, filesize($filename)) for regular files,
but packet-based non-greedy reads for everything else.


# 8f435013 29-Jun-2004 Wez Furlong

Fix for Bug #28964 fread "greedy" behaviour


# a2c24ae9 21-Jun-2004 Sara Golemon

BugFix#28868 (Part Two): This fixes thread unsafety in the userspace
filters which relates to the fix just applied for userspace wrappers.


# 7fcfa886 21-Jun-2004 Sara Golemon

BugFix#28868: Wrapper hash not thread-safe.

Userdefined wrappers were being registered into a global wrapper hash
which can cross threads. Termination of once instance then has the

BugFix#28868: Wrapper hash not thread-safe.

Userdefined wrappers were being registered into a global wrapper hash
which can cross threads. Termination of once instance then has the
potential to leave an active stream in another instance with no wrapper
leading to segfault.

show more ...


Revision tags: php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1
# b3699253 27-May-2004 Wez Furlong

Fix #25939 for good this time.
# How could I miss this??


Revision tags: 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
# 002f7ef3 01-Apr-2004 Sara Golemon

This leaks when a stream opener proxy opens another stream.


# 72616e6e 31-Mar-2004 Sara Golemon

BugFix#27619
Filters not applied to pre-buffered stream data.
(esp. http:// streams)


Revision tags: php-4.3.5, php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1, RELEASE_0_2_0
# 70757063 07-Mar-2004 Wez Furlong

add cast for qsort compare function.
Kinda ugly, but helps assert that we are doing the right thing as well as
kill the warning there.


# 0dd22801 07-Mar-2004 Wez Furlong

Less magic please


# 4db90073 01-Mar-2004 Jon Parise

Cast the php_stream_dirent to a 'const char *' for estrndup() to avoid a
compiler warning.


Revision tags: php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1
# a44838e8 04-Feb-2004 Wez Furlong

Fix a bug in the persistent socket liveness checks and feof(); they were
using the default socket timeout of 60 seconds before returning the socket
to the calling script. The reason they wer

Fix a bug in the persistent socket liveness checks and feof(); they were
using the default socket timeout of 60 seconds before returning the socket
to the calling script. The reason they were using that value is that the
same code is used for feof(), so the fix is allowing the caller to
indicate the timeout value for liveness checks.

A possible remaining issue now is that 0 second timeout[1] for pfsockopen
is possibly too short; it's impossible to specify a sane value for all
possible uses, so maybe we need a stream context or an .ini option to
control this, or maybe use the timeout value that was passed to
pfsockopen().

# [1] by timeout, I mean the time that PHP will wait for data on a
# persistent socket before deciding if a new connection should be made;
# NOT the timeout while waiting for a new connection to be established.

show more ...


Revision tags: php-4.3.5RC2
# 6d10371e 28-Jan-2004 Sara Golemon

'Bug Fix': scandir, being a new function in PHP5 should have always been wrapper aware.


Revision tags: 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
# a67bf6ec 13-Dec-2003 Sara Golemon

Fix Win32 Build. mkdir/rmdir are macros


# c5664783 13-Dec-2003 Sara Golemon

Route mkdir()/rmdir() via wrapper ops.
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper


# ab0029ca 05-Dec-2003 Wez Furlong

Be smarter about which systems should register unix transports.
Fix skip conditions in these network tests


# 026d4c9e 28-Nov-2003 Sara Golemon

Route php_stat() via streams/url_stat API (php_stream_stat_path).
This enables fopen-wrappers support on stat() and related family calls.


# 6d86bb9e 28-Nov-2003 Wez Furlong

(sort of) MFB, feof fix for sockets.


# baced1d6 28-Nov-2003 Ilia Alshanetsky

Fixed a memory leak.


1...<<1112131415