History log of /php-src/main/streams/plain_wrapper.c (Results 126 – 150 of 281)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# c1ec815f 01-Dec-2014 Anatol Belski

add include for missing usleep proto

# f4a0e601 01-Dec-2014 Anatol Belski

C89 compat

# b564e7b0 01-Dec-2014 Stanislav Malyshev

Merge branch 'PHP-5.6'

* PHP-5.6:
Update NEWS
fix typo
Added test and review suggestion
Fix bug #68335: rmdir doesnt work with file:// stream wrapper


# 60d5b2ec 01-Dec-2014 Stanislav Malyshev

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
Added test and review suggestion
Fix bug #68335: rmdir doesnt work with file:// stream wrapper


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
# b428dc76 29-Sep-2014 Anatol Belski

Merge branch 'PHP-5.6'

* PHP-5.6:
increase the polling period to not to break existing behaviours


# 231a311e 29-Sep-2014 Anatol Belski

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
increase the polling period to not to break existing behaviours


# 46aa2c39 29-Sep-2014 Anatol Belski

increase the polling period to not to break existing behaviours

# 78e23758 29-Sep-2014 Anatol Belski

Merge branch 'PHP-5.6'

* PHP-5.6:
updated NEWS
Fixed bug #51800 proc_open on Windows hangs forever

Conflicts:
main/streams/plain_wrapper.c


# 87a37f40 29-Sep-2014 Anatol Belski

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
Fixed bug #51800 proc_open on Windows hangs forever


# 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

Revision tags: POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32
# 8ee2a4a9 16-Aug-2014 Anatol Belski

first shot on merging the core fro the int64 branch

Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29, php-5.5.16RC1, php-5.4.32RC1, php-5.3.29RC1, php-5.6.0RC3, php-5.5.15, php-5.4.31, php-5.4.31RC1, php-5.5.15RC1
# deee0011 02-Jul-2014 Michael Wallner

restore API compatibility

# 438b6c52 02-Jul-2014 Michael Wallner

finish

# 11e401ab 02-Jul-2014 Michael Wallner

refactor _php_stream_fopen_{temporary_,tmp}file()

Revision tags: php-5.6.0RC2, php-5.4.30, php-5.5.14, php-5.6.0RC1, php-5.5.14RC1, php-5.4.30RC1, php-5.6.0beta4, php-5.4.29, php-5.5.13, php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2, php-5.5.12, php-5.4.28, php-5.4.28RC1, php-5.5.12RC1, php-5.6.0beta1, php-5.4.27, php-5.5.11, php-5.5.11RC1, php-5.4.27RC1
# 62f6c585 19-Mar-2014 Anatol Belski

Fixes to various stream cast on win64

This fixes further issues on win64 with casts from the streams.
Sockets/descriptors handling was unitized. This has an impact only on
win64, php

Fixes to various stream cast on win64

This fixes further issues on win64 with casts from the streams.
Sockets/descriptors handling was unitized. This has an impact only on
win64, php_socket_t otherwise can be feed back to int datatype.

show more ...

Revision tags: php-5.5.10, php-5.4.26, php-5.6.0alpha3, php-5.4.26RC1, php-5.5.10RC1, php-5.6.0alpha2, php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24
# c081ce62 03-Jan-2014 Xinchen Hui

Bump year

12345678910>>...12