History log of /PHP-8.1/ext/sockets/sockets.c (Results 1 – 25 of 407)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b5da98b9 27-Sep-2023 twosee

Fix socket_export_stream() with wrong protocol

Closes GH-12310.


# 80232de0 01-Oct-2022 Arnaud Le Blanc

Return immediately when FD_SETSIZE is exceeded (#9602)


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1
# 623b2122 04-Jan-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix ext/sockets build on Haiku


# 09165ace 29-Dec-2021 David Carlier

Fix ext/sockets build on Haiku

The `SOCK_RDM` datagram option is unsupported on Haiku; instead `ifreq`
has direct access to `ifr_index`.

Closes GH-7849.

Revision tags: php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31, php-7.3.30
# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation

Revision tags: php-7.3.29
# 4c873df7 28-Jun-2021 David Carlier

sockets enabling SO_MARK socket option which is relatively similar
to FreeBSD's SO_USER_COOKIE giving a socket an identifier for packet filter,
giving a specific route table.

# aff36587 29-Jun-2021 Patrick Allaert

Fixed some spaces used instead of tabs

# c4a005bb 09-Jun-2021 David CARLIER

exposing few macOS socket options to give hints how to handle data,

# ff23a347 14-Jun-2021 David CARLIER

define SO_ACCEPTFILTER separately where supported (#7146)

# fc147ed8 05-Jun-2021 David Carlier

sockets exposing TC_DEFER_ACCEPT to optimise tcp exchanges.

# 95a9e558 16-May-2021 David Carlier

Pull #6989 FreeBSD defines SO_ACCEPTFILTER

# f9547f2b 05-May-2021 Remi Collet

get rid of inet_aton and inet_ntoa use inet_ntop iand inet_pton where available standardize buffer size

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

Revision tags: php-7.3.28
# ce0bc58c 16-Feb-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Mark resource-like objects as non-comparable


# b63ea104 16-Feb-2021 Nikita Popov

Mark resource-like objects as non-comparable

As these hold on to some internal resource, there can't be two
"equal" objects with different identity. Make sure the lack of
public prop

Mark resource-like objects as non-comparable

As these hold on to some internal resource, there can't be two
"equal" objects with different identity. Make sure the lack of
public properties doesn't result in these being treated as always
equal.

show more ...

# 1f04f162 16-Feb-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #80723


# cb9785ad 16-Feb-2021 Nikita Popov

Fixed bug #80723

This fixes the issue just for the Socket class. Presumably we'll
want to do the same for other "resource" objects.

# a730dc0c 15-Feb-2021 Máté Kocsis

Generate class entries for snmp, soap, sockets, sodium, sqlite3, sysv*, tidy

Closes GH-6696

Revision tags: php-7.3.27
# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# 422d1665 14-Jan-2021 Nikita Popov

Make convert_to_*_ex simple aliases of convert_to_*

Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
sin

Make convert_to_*_ex simple aliases of convert_to_*

Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
since PHP 7.

The only difference that was still left is that _ex checked whether
the type is the same first, but the usage of these macros did not
actually distinguish on whether such an inlined check is valuable
or not in a given context.

Also drop the unused convert_to_explicit_type macros.

show more ...

Revision tags: php-7.3.26, php-7.3.26RC1, php-7.3.25
# 01de0007 11-Nov-2020 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix double free when socket_accept fails


# 800cf5a2 11-Nov-2020 Nikita Popov

Fix double free when socket_accept fails

Revision tags: php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23
# 150ebfdf 23-Sep-2020 George Peter Banyard

Suppress bogus [-Wlogical-op] warning from GCC

See GCC bug 69602: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602
which emits the warning for (errno == EWOULDBLOCK || errno == EAGAIN)

Suppress bogus [-Wlogical-op] warning from GCC

See GCC bug 69602: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602
which emits the warning for (errno == EWOULDBLOCK || errno == EAGAIN)
which is the correct way of handling errors as the value of EWOULDBLOCK
and EAGAIN is implementation defined.

Therefore introduce a new macro function PHP_IS_TRANSIENT_ERROR()
which handles the case when EWOULDBLOCK and EAGAIN are identical.

Thanks to @twose for the idea.

show more ...

# 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

12345678910>>...17