History log of /PHP-7.1/main/php_network.h (Results 51 – 75 of 103)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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
# 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, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1, 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
# b8f7d9f9 20-Feb-2004 Hartmut Holzgraefe

wrap all PHPAPI prototypes into BEGIN_EXTERN_C/END_EXTERN_C blocks
(else they won't be usable from C++ extensions)


Revision tags: php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1, php-4.3.5RC2, RELEASE_1_3b6, php_ibase_before_split, php-4.3.5RC1
# ccfc46b0 08-Jan-2004 foobar

- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?


Revision tags: php-5.0.0b3, php-5.0.0b3RC2
# 12b0501f 18-Dec-2003 Wez Furlong

Counteract brain-death in Apache headers
(they #define strtoul to something that will break compilation,
and it successfully breaks the win32 IPv6 headers)


Revision tags: php-5.0.0b3RC1
# 6b679cd6 06-Dec-2003 Wez Furlong

fix ipv6 stuff under vc6


# dbb152b9 06-Dec-2003 Wez Furlong

Detect and enable IPv6 support under win32.
The ws2tcpip.h header links to IPv6 functions dynamically
and the generated binary will run on win98 and later.


# 5e4eac57 02-Dec-2003 Wez Furlong

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


# 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, 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, 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, php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init, php-4.3.2RC1
# 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 ...


# 08b5f6b2 28-Feb-2003 foobar

- No need to include the ssl headers elsewhere but in ext/openssl
# ext/ftp doesn't use streams yet so it needs to include them.


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


# 8e3f23e3 19-Feb-2003 foobar

ws fixes + missing $Id$ tags, headers added


Revision tags: php-4.3.1, 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, 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
# 64a22c8a 14-Oct-2002 Sebastian Bergmann

Revert to 1.34.


# 276b314e 14-Oct-2002 Sebastian Bergmann

Whitespace fixes.


# 2e68e0be 14-Oct-2002 Sebastian Bergmann

Fix Win32 build.


# 0bcd2ccb 13-Oct-2002 Wez Furlong

A much better probable fix for #16114.


# 70b796b1 13-Oct-2002 Wez Furlong

(php_socket_errno) win32 errno compatible macro.
(php_socket_strerror) win32 compatible strerror replacement.
Add an E_NOTICE when a socket write fails.


Revision tags: RELEASE_1_0b1, php-4.3.0pre1
# 9d5bab5a 05-Oct-2002 Wez Furlong

EOF related fixes.


Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# 9509c209 28-Sep-2002 Wez Furlong

remove chunk size setting code (it's now in streams.c).
Move timeout setting code.


# 696e0a23 25-Sep-2002 Wez Furlong

Implement persistent streams. (for pfsockopen).
Juggle some includes/definitions.
Tidy up streams use in ext/standard/file.c


12345