php-src/main/streams
Wez Furlong a44838e8a3 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.
2004-02-04 22:46:44 +00:00
..
cast.c - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
filter.c - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
memory.c - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
mmap.c - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
php_stream_context.h - Happy new year and PHP 5 for rest of the files too.. 2004-01-08 17:33:29 +00:00
php_stream_filter_api.h - Happy new year and PHP 5 for rest of the files too.. 2004-01-08 17:33:29 +00:00
php_stream_mmap.h - Happy new year and PHP 5 for rest of the files too.. 2004-01-08 17:33:29 +00:00
php_stream_plain_wrapper.h - Happy new year and PHP 5 for rest of the files too.. 2004-01-08 17:33:29 +00:00
php_stream_transport.h - Happy new year and PHP 5 for rest of the files too.. 2004-01-08 17:33:29 +00:00
php_stream_userspace.h - Happy new year and PHP 5 for rest of the files too.. 2004-01-08 17:33:29 +00:00
php_streams_int.h - Happy new year and PHP 5 for rest of the files too.. 2004-01-08 17:33:29 +00:00
plain_wrapper.c Fixed bug #26974 (rename() doesn't check the destination file 2004-01-21 02:28:50 +00:00
streams.c Fix a bug in the persistent socket liveness checks and feof(); they were 2004-02-04 22:46:44 +00:00
transports.c Fix a bug in the persistent socket liveness checks and feof(); they were 2004-02-04 22:46:44 +00:00
userspace.c Removed unused variable. 2004-01-27 03:20:35 +00:00
xp_socket.c Fix a bug in the persistent socket liveness checks and feof(); they were 2004-02-04 22:46:44 +00:00