History log of /PHP-5.4/main/streams/xp_socket.c (Results 26 – 50 of 71)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.4.9, php-5.3.0alpha1, php-4.4.9RC1
# d91bc9ec 16-Jul-2008 Jani Taskinen

MFH:- Fixed bug #44127 (UNIX abstract namespace socket connect does not work)


# cf7e15c3 11-Jul-2008 Antony Dovgal

MFH: manage references of stream context properly


Revision tags: BEFORE_NEW_PARAMETER_PARSE, RELEASE_1_2_5, RELEASE_2_0_0b1, php-5.2.6, RELEASE_1_0_2, php-5.2.6RC5, php-5.2.6RC4, php-5.2.6RC3, RELEASE_2_0_0a2, RELEASE_2_0_0a1
# 49add034 10-Mar-2008 Andrey Hristov

char **error_message was passed but not used. This causes problems in cases
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were readi

char **error_message was passed but not used. This causes problems in cases
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were reading initialized in case of error.

show more ...


Revision tags: php-5.2.6RC2, php-5.2.6RC1
# 425c4bca 27-Feb-2008 Ilia Alshanetsky

Fixed bug #44233 (MSG_PEEK undefined under BeOS R5)


Revision tags: RELEASE_1_3_1, php-4.4.8
# d1dded87 31-Dec-2007 Sebastian Bergmann

MFH: Bump copyright year, 2 of 2.


Revision tags: php-4.4.8RC1, RELEASE_1_2_3, php-5.2.5, php-5.2.5RC2, php-5.2.5RC1, BEFORE_IMPORT_OF_MYSQLND_IN_5_3, RELEASE_1_2_2, RELEASE_1_2_4, RELEASE_1_2_1, php-5.2.4, RELEASE_1_5, php-5.2.4RC3, php-5.2.4RC2, php-5.2.4RC1, BEFORE_REAL_IMPORT_OF_MYSQLND
# 78932ba2 24-Jul-2007 Dmitry Stogov

Fixed bug #41984 (Hangs on large SoapClient requests)


Revision tags: BEFORE_IMPORT_OF_MYSQLND
# dd23eb0c 17-Jul-2007 Jani Taskinen

MFH:- Fixed bugs #36796, #36918, #41371 (stream_set_blocking() does not work)


Revision tags: php-5.2.3, RELEASE_1_4, php-5.2.3RC1, RELEASE_1_2_0, php-4.4.7, php-5.2.2, php-5.2.2RC2, RELEASE_1_1_0, php-4.4.7RC1, php-5.2.2RC1, RELEASE_1_0_1, php-4.4.6, php-4.4.6RC1, php-4.4.5, php-5.2.1, RELEASE_1_0_0RC1, php-4.4.5RC2, php-5.2.1RC4, php-5.2.1RC3, php-4.4.5RC1, php-5.2.1RC2
# 4223aa4d 01-Jan-2007 Sebastian Bergmann

MFH: Bump year.


# f8073431 21-Dec-2006 Antony Dovgal

MFH


# 03312cc0 19-Dec-2006 Dmitry Stogov

Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection


Revision tags: php-5.2.1RC1, php-5.2.0, php-5.2.0RC6
# 1cc0339d 11-Oct-2006 Antony Dovgal

MFH: fix crash when parsing invalid hostnames/IPs


Revision tags: php-5.2.0RC5, php-5.2.0RC4, php-5.2.0RC3, php-5.1.6, php-5.2.0RC2, php-5.1.5, php-4.4.4, php-4.4.4RC1, php-5.1.5RC1, php-4.4.3, php-5.2.0RC1, php-4.4.3RC2, BEFORE_NEW_OUTPUT_API, php-4.4.3RC1, php-5.1.4, RELEASE_1_0_3, php-5.1.3, php-5.1.2, RELEASE_1_3, php-5.1.3RC3, php-5.1.3RC2, php-5.1.3RC1, RELEASE_1_2
# 3a4a0e3c 02-Feb-2006 Sara Golemon

MFH: Prevent bindport from being used uninitialized


Revision tags: RELEASE_0_9_4, RELEASE_1_0_4, php-4.4.2, php-5.1.2RC2, php-4.4.2RC2
# 5bd93221 01-Jan-2006 foobar

bump year and license version


Revision tags: php-5.1.2RC1, RELEASE_1_1_1, RELEASE_1_1, RELEASE_1_0, RELEASE_2_0_2, php-5.1.1, php-5.1.0, php-4.4.2RC1, RELEASE_0_9_3, php-5.1.0RC6, php-5.1.0RC5, RELEASE_2_0_1, RELEASE_1_0RC2, php-4.4.1, php-5.1.0RC4, RELEASE_0_9_2, RELEASE_0_9_1, php-5.1.0RC3, php-5.1.0RC2, php-4.4.1RC1, RELEASE_0_9_0, RELEASE_1_0RC1, PRE_NEW_OCI8_EXTENSION, php-5.1.0RC2_PRE, php-5.0.5, php-5.0.5RC2, php-5.0.5RC1, php-5.1.0RC1, BEFORE_UNICODE_MERGE, RELEASE_2_0_0
# 23e671a5 03-Aug-2005 foobar

- Bumber up year


Revision tags: RELEASE_0_9, php-5.1.0b3, php-4.4.0, php-4.4.0RC2, php-5.1.0b2
# 1d9baf3d 14-Jun-2005 Sebastian Bergmann

ZTS fix.


# b36d4ae0 14-Jun-2005 Ilia Alshanetsky

Added bindto socket context option.


Revision tags: php-4.4.0RC1, php-5.1.0b1, php-5.0.1b1, RELEASE_0_3, php-5.0.4, php-4.3.11, php-5.0.4RC2, php-4.3.11RC2, php-5.0.4RC1, php-4.3.11RC1, RELEASE_0_2_4, RELEASE_0_2_3, RELEASE_0_2_2, RELEASE_0_2_1, RELEASE_0_2, php-5.0.3, php-4.3.10, SQLITE_4_3_20041227, php-5.0.3RC2, php-4.3.10RC2, php-5.0.3RC1, php-4.3.10RC1, PRE_NEW_VM_GEN_PATCH, php-5.0.2, php-4.3.9
# ff4e970f 17-Sep-2004 Wez Furlong

Make new poll stuff work on win32 (and still be safe on unix)


# 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, PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2
# c84bd49f 22-Aug-2004 Ilia Alshanetsky

Using int when long should be used.


Revision tags: php-5.0.1, php-5.0.1RC2, php-4.3.9RC1
# b21a7357 10-Aug-2004 Wez Furlong

Fix for #29256 from Dmitry, very slightly modified


Revision tags: php-5.0.1RC1
# d0be0299 31-Jul-2004 Wez Furlong

zts fix...


# ae7285d6 31-Jul-2004 Wez Furlong

Misc sendto/recvfrom tweaks that have been pending here for a while...


# 05a3faba 31-Jul-2004 Wez Furlong

Make sure this is initialized...


Revision tags: RELEASE_0_1, php-5.0.0RC4, php-5.0.0, php-4.3.8, 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
# b303ba08 08-Mar-2004 Ard Biesheuvel

More wordsize fixes


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 ...


123