History log of /PHP-7.4/main/network.c (Results 126 – 150 of 231)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5e4eac57 02-Dec-2003 Wez Furlong

Export these so that ftp extension can be build as shared ext.


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


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, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3, php-4.3.3RC4
# 93bcd55e 12-Aug-2003 Ilia Alshanetsky

emalloc -> safe_emalloc


# 3466a48a 10-Aug-2003 Marcus Boerger

Initialize this variable to 0 as suggested by sara


Revision tags: 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
# 8dfe3852 28-Jun-2003 Wez Furlong

Merge getaddrinfo() tidy-up from PHP_4_3 branch.


Revision tags: php-4.3.3RC1
# 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, php-4.3.2RC3, RELEASE_0_9b
# 56ba9b4a 13-May-2003 Ilia Alshanetsky

emalloc -> safe_emalloc


Revision tags: SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init, php-4.3.2RC1
# d0fbdef4 08-Mar-2003 Marcus Boerger

fix warnings - one left


# 67161883 01-Mar-2003 Moriyoshi Koizumi

Reverted my previous commit


# 3de8b87c 01-Mar-2003 Moriyoshi Koizumi

Fixed build


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


# e0899443 28-Feb-2003 Ilia Alshanetsky

compiler warning fixed.


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


# c1bdf163 21-Feb-2003 Wez Furlong

Add comment about thread-safety of gethostbyname on win32.
Set the correct path to the win32 config.h file in the .dsp file.


# 8e3f23e3 19-Feb-2003 foobar

ws fixes + missing $Id$ tags, headers added


# 4934744b 17-Feb-2003 Zeev Suraski

Win32 build improvements


Revision tags: php-4.3.1
# 0a18a9d7 16-Feb-2003 Wez Furlong

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file de

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library. In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.

show more ...


# 77b98f86 13-Feb-2003 Wez Furlong

Potential fixes for #21809 and #22099.


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 2c5d4b8c 31-Dec-2002 Sebastian Bergmann

Bump year.


Revision tags: php-4.3.0
# 90c47866 22-Dec-2002 Wez Furlong

A Simple fix for Bug #12360 (fsockopen timeout doesn't work).

Analysis:
On systems with HAVE_GETADDRINFO and IPV6 support, php_hostconnect would
attempt to connect to each possible a

A Simple fix for Bug #12360 (fsockopen timeout doesn't work).

Analysis:
On systems with HAVE_GETADDRINFO and IPV6 support, php_hostconnect would
attempt to connect to each possible address that matched the requested IP.

If the remote host:port combination are dropping packets this would cause the
first connection to timeout (after waiting for the full timeout duration).

PHP would then attempt the second address and wait the full duration again.

Solution:
If the first connection attempt times out, abort the connection loop.

show more ...


Revision tags: php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1
# f8486bc3 29-Oct-2002 Wez Furlong

Fix for #19508 by poleson@verio.net.


Revision tags: php-4.3.0pre2
# ec400b8d 19-Oct-2002 Ilia Alshanetsky

Silence compile warning, when compiling --with-openssl.


12345678910