History log of /php-src/main/streams/xp_socket.c (Results 151 – 175 of 175)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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 ...

Revision tags: php-4.3.5RC2, 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
# da9093be 02-Dec-2003 Wez Furlong

this can't be persistent

# c344754d 30-Nov-2003 Ilia Alshanetsky

Removed unused variables.

# 37f135ce 29-Nov-2003 Wez Furlong

Add stream_socket_sendto and stream_socket_recvfrom which work very much
like sendto() and recvfrom() syscalls.

# 6d86bb9e 28-Nov-2003 Wez Furlong

(sort of) MFB, feof fix for sockets.

# 3ee72aa5 27-Nov-2003 Wez Furlong

port "liveness" checks and a couple of other things from the 4.3 branch.
Liveness checks are used to validate persistent socket connects when they
are re-used.

Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3
# 590b3ccc 08-Oct-2003 Wez Furlong

Set the EOF indicator after each read attempt.
This prevents it getting stuck in the on position.

Revision tags: BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2, php-5.0.0b1
# 5ecc91c2 28-Jun-2003 Wez Furlong

Merge selectable descriptor casting from PHP_4_3 branch.

Revision tags: php-4.3.3RC1
# 6e274302 15-Jun-2003 Edin Kadribasic

Win32 build fixes for openssl

# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.

Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT
# 85a13e3e 17-May-2003 Sebastian Bergmann

Fix warnings.

Revision tags: php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# d6c24de8 05-Apr-2003 Sara Golemon

Add IPv6 support to stream_socket_client/server()

# 267db80b 18-Mar-2003 Wez Furlong

avoid unsigned issues.

# 16e705a5 15-Mar-2003 Wez Furlong

64bit fixes

Revision tags: php-4.3.2RC1
# fb4dab36 03-Mar-2003 Ilia Alshanetsky

Compiler warning fix.

# 242166d6 01-Mar-2003 Wez Furlong

Don't shutdown() unix sockets.
It causes the server end to close down/break.

# 349ce76f 28-Feb-2003 Wez Furlong

Tidy up stupid signed/unsigned issues with win32 by introducing a php_socket_t typedef.

# 1b53a2d1 28-Feb-2003 Wez Furlong

New user-space functions:
. stream_socket_client() - similar to fsockopen(), but more powerful.
. stream_socket_server() - Creates a server socket.
. stream_socket_accept() - Accept

New user-space functions:
. stream_socket_client() - similar to fsockopen(), but more powerful.
. stream_socket_server() - Creates a server socket.
. stream_socket_accept() - Accept a client connection.
. stream_socket_get_name() - Get local or remote name of socket.

Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.

show more ...

# cfd8150b 27-Feb-2003 Wez Furlong

Add a generic meta data api for streams.

# 203068d0 27-Feb-2003 Wez Furlong

Fixup build for win32

# fd61f690 27-Feb-2003 Wez Furlong

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extension

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.

show more ...

1234567