History log of /PHP-7.2/main/streams/plain_wrapper.c (Results 26 – 50 of 197)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.8RC1, php-5.5.24RC1
# 184793b5 19-Mar-2015 Anatol Belski

fix condition


Revision tags: php-5.6.7, php-5.5.23, php-5.4.39
# f43cc2a1 11-Mar-2015 Anatol Belski

use portable fseek


Revision tags: php-5.6.7RC1
# 6d065a85 05-Mar-2015 Dmitry Stogov

Avoid repeatable strlen() calls


Revision tags: php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 2fa8d67a 03-Mar-2015 Dmitry Stogov

Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse.


Revision tags: php-5.6.6, php-5.5.22, php-5.4.38, POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# f8bf646f 27-Jan-2015 Joshua Rogers

do_fstat changes

Check return values of 'do_fstat' function in all places.


# e5e251b0 01-Feb-2015 Stanislav Malyshev

fix group name handling


# 570ed1a1 30-Jan-2015 Michael Wallner

fix warnings


Revision tags: php-5.5.21, php-5.6.5, php-5.4.37
# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# c1ec815f 01-Dec-2014 Anatol Belski

add include for missing usleep proto


# f4a0e601 01-Dec-2014 Anatol Belski

C89 compat


Revision tags: php-5.6.4RC1, php-5.5.20RC1, php-5.6.3, php-5.5.19, php-5.4.35
# 04808aa7 01-Nov-2014 mcq8

Added test and review suggestion


# 6eaa4d01 01-Nov-2014 mcq8

Fix bug #68335: rmdir doesnt work with file:// stream wrapper


# 5400f92c 18-Nov-2014 Anatol Belski

proper dllexport


Revision tags: php-5.6.3RC1, php-5.5.19RC1
# deaeca40 27-Oct-2014 Anatol Belski

fix datatype mismatches


# 74997dcf 23-Oct-2014 Anatol Belski

add include for usleep() proto


Revision tags: php-5.5.18, php-5.4.34, php-5.5.18RC1, php-5.6.1
# 46aa2c39 29-Sep-2014 Anatol Belski

increase the polling period to not to break existing behaviours


# 0c982798 29-Sep-2014 Anatol Belski

Fixed bug #51800 proc_open on Windows hangs forever

This loop can block for some minutes, theoretically. Practially
however, this is a 99% non issue for a normal use case. This is
re

Fixed bug #51800 proc_open on Windows hangs forever

This loop can block for some minutes, theoretically. Practially
however, this is a 99% non issue for a normal use case. This is
required because read() is synchronous. The PHP streams API wants
to fill its internal buffers, therefore it might try to read some
more data than user has demanded. Also, for a case where we want
to read X bytes, but neither enough data nor EOF arrives, read()
will block until it could fill the buffer. If a counterpart station
runs slowly or delivers not all the data at once, read() would
still be waiting. If we quit too early, we possibly could loose
some data from the pipe. Thus it has to emulate the read()
behaviour, but obviously not completely, just to some grade.

Reading big data amount is for sure an issue on any platforms, it
depends on the pipe buffer size, which is controlled by the system.
On Windows, the buffer size seems to be way too small, which causes
buffer congestion and a dead lock. It is essential to read the pipe
descriptors simultaneously and possibly in the same order as the
opposite writes them.

Thus, this will work with smaller buffer data sizes passed through
pipes. As MSDN states, anonymous pipes don't support asynchronous
operations. Neither anonymous pipes do support select() as they are
not SOCKETs but file descriptors. Consequently - bigger data sizes
will need a better solution based on threads. However it is much
more expencive. Maybe a better solution could be exporting a part
of the internal doing as a userspace function which could perform
some kind of lookahead operation on the pipe descriptor.

This is just the first stone, depending on the user feedback we
might go for further improvements in this area.

show more ...


Revision tags: php-5.6.2
# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/


Revision tags: php-5.4.33, php-5.5.17
# 6a92d321 14-Sep-2014 Anatol Belski

fix type


Revision tags: php-5.6.1RC1, php-5.5.17RC1, php-5.4.33RC1, php-5.6.0, POST_AST_MERGE, PRE_AST_MERGE
# 455741fc 25-Aug-2014 Anatol Belski

master renames phase 4


# 4d997f63 25-Aug-2014 Anatol Belski

master renames phase 3


12345678