History log of /PHP-8.2/ext/sockets/sockets.c (Results 51 – 75 of 439)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 189751cb 28-Sep-2020 George Peter Banyard

Promote notice to ValueError for invalid hint key


# e950ca13 20-Sep-2020 Máté Kocsis

Consolidate the usage of "either" and "one of" in error messages

Closes GH-6173


# bfdbb90d 03-Aug-2020 Christoph M. Becker

Fix Windows build


# 77172c22 27-Jul-2020 Máté Kocsis

Convert resources to objects in ext/sockets

Closes GH-5900.


# 2b5de6f8 01-Jul-2020 Max Semenik

Remove proto comments from C files

Closes GH-5758


# f1bf058d 02-Jul-2020 Nikita Popov

Handle SO_ options only at SOL_SOCKET level

These options may have the same value as options at other levels.

This issue showed up on ppc64el.


# 09532a12 12-Jun-2020 Nikita Popov

Suppress deprecation warning in sockets.c

This one was quite a journey...


# 7ff8eaa5 10-Jan-2020 George Peter Banyard

Promote warnings to Errors in sockets's extension.


# 21cfa03f 05-Apr-2020 Máté Kocsis

Generate function entries for another batch of extensions

Closes GH-5352


# 736b22dc 18-Feb-2020 Máté Kocsis

Add stubs for aliases

Closes GH-5187


# 2efa0b3b 04-Feb-2020 George Peter Banyard

Address path is 104 bytes on macOs compared to 108 on Linux


# 68112224 20-Jan-2020 Nikita Popov

Eliminate uses of ZVAL_ZVAL and friends

Instead add RETURN_COPY(_VALUE) macros will the expected behavior.

RETURN_ZVAL doesn't make any sense since PHP 7, but has stuck
around,

Eliminate uses of ZVAL_ZVAL and friends

Instead add RETURN_COPY(_VALUE) macros will the expected behavior.

RETURN_ZVAL doesn't make any sense since PHP 7, but has stuck
around, probably because the alternative was to write directly to
the return_value variable.

show more ...


# d1764ca3 15-Jan-2020 Máté Kocsis

Make error messages more consistent by fixing capitalization

Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.


# aadd3aae 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() in various places


# bbcfa66e 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after zend_fetch_resource*()


# 34570372 31-Dec-2019 Máté Kocsis

Use RETURN_THROWS() during ZPP in most of the extensions

Except for some bigger ones: reflection, sodium, spl


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1
# 94938934 29-Oct-2019 Máté Kocsis

Cleanup return values when parameter parsing is unsuccessful


Revision tags: php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4
# ecc9588d 12-Oct-2019 Christoph M. Becker

Properly handle non resources passed to socket_select()

As of PHP 8.0.0, failing `zend_fetch_resource_ex()` throws a TypeError,
so we cannot simply skip non resources in the `$read`, `$w

Properly handle non resources passed to socket_select()

As of PHP 8.0.0, failing `zend_fetch_resource_ex()` throws a TypeError,
so we cannot simply skip non resources in the `$read`, `$write` and
`$except` arrays. Instead we bail out. Since these arrays are already
checked in `php_sock_array_to_fd_set()`, we remove the additional check
in `php_sock_array_from_fd_set()`.

show more ...


# 77bd1ce6 12-Oct-2019 Christoph M. Becker

Just return after exception has been thrown


Revision tags: php-7.3.11RC1, php-7.2.24RC1
# 428bd3d9 06-Oct-2019 Thomas Gerbet

Add stubs for ext-sockets


# c10d3d3a 12-Oct-2019 Christoph M. Becker

Fix potential heap corruption

`tmp` is allocated by `malloc()`, so we must not `LocalFree()` it.


Revision tags: php-7.4.0RC3
# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.


Revision tags: php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2
# 48040cf3 03-Aug-2019 viest

Remove deprecated getaddrinfo flags

The AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES have
been deprecated by glibcs, and PHP 7.4 follows this deprecation.

This remove

Remove deprecated getaddrinfo flags

The AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES have
been deprecated by glibcs, and PHP 7.4 follows this deprecation.

This removes the offending flags for PHP 8.0.

show more ...


# 57039430 03-Aug-2019 viest

Deprecate AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES

These flags have been deprecated in glibc 2.28, so we also
deprecate them in PHP.

As we can't deprecate constan

Deprecate AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES

These flags have been deprecated in glibc 2.28, so we also
deprecate them in PHP.

As we can't deprecate constants, we can only check for their use
in socket_addrinfo_lookup().

show more ...


Revision tags: php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30
# 9a74b232 23-May-2019 Nikita Popov

Fixed bug #78038 socket_select with references


12345678910>>...18