History log of /PHP-5.5/ext/sockets/sockets.c (Results 126 – 150 of 292)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: RELEASE_0_2_3
# 30deea4d 12-Feb-2005 foobar

Remove unused set_h_errno


Revision tags: 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
# 3838fb99 07-Jun-2004 Sara Golemon

MFB: Missing length limit parameter.


Revision tags: php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1
# 17df3ec2 26-May-2004 Derick Rethans

- Fixed bug #28523 (Typo in ext/sockets/sockets.c)


Revision tags: php-4.3.7RC1, RELEASE_0_1_1
# 3b64493a 18-May-2004 Edin Kadribasic

No length parameter -> estrdup()


# bb88a862 16-May-2004 Ilia Alshanetsky

Do not allocate error buffer at the start of every request.


Revision tags: 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
# 4ed1b9a1 14-Mar-2004 Jan Lehnardt

- improve error message


# 21ecfd57 14-Mar-2004 Melvyn Sopacua

Fix a typo, dating back from 1.145.


Revision tags: RELEASE_0_2_0
# 337b23bd 25-Feb-2004 Ilia Alshanetsky

Fixed bug #21760 (Use of uninitialized pointer inside php_read()).
Fixed 3 possible crashes due to integer overflow or invalid user input
inside the sockets extension.


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
# 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
# f0c110d4 16-Dec-2003 foobar

nuke unused code


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


Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1
# eabcb173 24-Oct-2003 Marcus Boerger

Revert accidential commit


# 071eaf85 24-Oct-2003 Marcus Boerger

Zend/ZEND_CHANGES


Revision tags: php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7
# 9c82b1fa 31-Aug-2003 Ilia Alshanetsky

Fixed compiler warnings.


# 8767205a 31-Aug-2003 Zeev Suraski

Fix Win32 linkage problems


Revision tags: php-4.3.3, php-4.3.3RC4
# 90289924 16-Aug-2003 Jason Greene

Remove all vector based functions for the following reasons:
- This solves alot of platform compatibility problems
- The possible security issue of allocating an incredibly large vector
p

Remove all vector based functions for the following reasons:
- This solves alot of platform compatibility problems
- The possible security issue of allocating an incredibly large vector
pool is prevented
- They are of little to no benefit in a high level language
- 99% of all things done with these functions can be done using
sendto/recvfrom

show more ...


# 93bcd55e 12-Aug-2003 Ilia Alshanetsky

emalloc -> safe_emalloc


Revision tags: RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5
# 55f947aa 03-Aug-2003 Marcus Boerger

Fix build


# 538d58dd 03-Aug-2003 Zeev Suraski

Use new infrastructure.

There are bound to be some messups, please report build/runtime bugs!


Revision tags: BEFORE_ARG_INFO, php-4.3.3RC2
# 7eea6525 22-Jul-2003 Jason Greene

Fix EINVAL errors for OS's (Solaris + BSD) that do not appreciate microseconds >= 1 second
Patch submitted from meebery@php.net


# 6cb8ce28 08-Jul-2003 Sara Golemon

gethostbyname2() not thread safe. Use getaddrinfo() or nothing at all.


# 010f5a12 08-Jul-2003 Sara Golemon

Make php_set_inet6_addr happy with any environment. Use getaddrinfo() if available, gethostbyname2() if not, and simply fail if neither is present.


# acc587fd 07-Jul-2003 Sara Golemon

Fix non-GNU build. Use getaddrinfo() rather than gethostbyname2()


Revision tags: php-5.0.0b1, php-4.3.3RC1
# 3de4afa4 17-Jun-2003 Sterling Hughes

rename SOCKET to PHP_SOCKET to avoid conflicts with Mono


12345678910>>...12