History log of /php-src/ext/sockets/sockets.stub.php (Results 1 – 25 of 37)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 0e16e29b 31-Mar-2024 David Carlier

ext/sockets: socket_create_listen update.

going from 128 to system's SOMAXCONN by default to be able to increase
the queue of connections to be handled.
Also, for Haiku SOMAXCONN is

ext/sockets: socket_create_listen update.

going from 128 to system's SOMAXCONN by default to be able to increase
the queue of connections to be handled.
Also, for Haiku SOMAXCONN is only 32.

Close GH-13854

show more ...


# 645af9fb 07-Apr-2024 David Carlier

ext/sockets: adding solaris/illumos SO_EXCLBIND constant.

when set to "true", neutralises the effect of SO_REUSEADDR/SO_REUSEPORT
making the socket binding exclusive.

Close GH-1

ext/sockets: adding solaris/illumos SO_EXCLBIND constant.

when set to "true", neutralises the effect of SO_REUSEADDR/SO_REUSEPORT
making the socket binding exclusive.

Close GH-13912

show more ...


# b82024b1 26-Mar-2024 David Carlier

ext/sockets: adding Linux's TCP_SYNCNT constant.

Useful to control how many SYN packets the client will send to the
server before giving up establishing a connection if the server does

ext/sockets: adding Linux's TCP_SYNCNT constant.

Useful to control how many SYN packets the client will send to the
server before giving up establishing a connection if the server does
not respond (usually 5 or 6 by default).

Close GH-13816

show more ...


# 4c467e6e 16-Mar-2024 David Carlier

ext/sockets: adding few constants for NetBSD.

SOCK_CONN_DGRAM (and its alias SOCK_DCCP) for connection orientated
datagram.

Close GH-13728


# 23844538 26-Feb-2024 Peter Kokot

Use preprocessor to check for AI_V4MAPPED, AI_ALL and AI_IDN (#13513)

The preprocessor macros defined in some header can be checked, using
Autoconf's AC_COMPILE_IFELSE, or with simpler A

Use preprocessor to check for AI_V4MAPPED, AI_ALL and AI_IDN (#13513)

The preprocessor macros defined in some header can be checked, using
Autoconf's AC_COMPILE_IFELSE, or with simpler AC_CHECK_DECL(S), or even
better and simpler directly in the C code.

show more ...


# e630aacf 21-Feb-2024 Jorg Adam Sowa

Remove HAVE_INET_PTON (#13410)


# b02f95ad 26-Dec-2023 David Carlier

ext/sockets: adding windows SO_EXCLUSIVEADDRUSE constant.

Close GH-13030


# 7b4b40f0 22-Apr-2023 David Carlier

ext/sockets: addig Linux's IP_BIND_ADDRESS_NO_PORT.

Delay ephemeral port number attribution at connect time rather
than at bind's one.

Close GH-11119.


# 6c532df7 08-Apr-2023 David CARLIER

ext/sockets adding FreeBSD's SO_REUSEPORT_LB constant.

SO_REUSEPORT_LB is, in fact, closer to the classical Linux's SO_REUSEPORT.

Close GH-11038


# fbaa2eb0 27-Feb-2023 David CARLIER

ext/sockets: add TCP_REPAIR to silently close a connection.

Closes GH-10724.


# 19a7281e 11-Feb-2023 David Carlier

sockets add SO_RERROR/SO_ZEROIZE/SO_SPLICE net/openbsd's constants.

Closes GH-10563.


# 908d954d 28-Jan-2023 David Carlier

sockets updlite protocol support, with checksum coverage settings.

Close GH-10468


# f8f7fd2d 22-Jan-2023 David Carlier

sockets add AF_DIVERT constant.

Allow to bind a socket to a divert port without being concerned
by its address. for ipfw filter purpose (SO_USER_COOKIE constant).
FreeBSD only.

sockets add AF_DIVERT constant.

Allow to bind a socket to a divert port without being concerned
by its address. for ipfw filter purpose (SO_USER_COOKIE constant).
FreeBSD only.

Close GH-10415.

show more ...


# 9198e889 10-Jan-2023 David Carlier

socket DF flag on UDP socket via IP_MTU_DISCOVER on Linux and IP_DONTFRAGMENT on FreeBSD for path MTU discovery purpose.

idea proposal via ml :
https://marc.info/?l=php-internals&m=16732

socket DF flag on UDP socket via IP_MTU_DISCOVER on Linux and IP_DONTFRAGMENT on FreeBSD for path MTU discovery purpose.

idea proposal via ml :
https://marc.info/?l=php-internals&m=167329288509393&w=2

Close GH-10282

show more ...


# 9c257256 21-Dec-2022 David Carlier

sockets adding TCP_QUICKACK constant.

having tigher control on ACK delays, difference is the setting
is `volatile` as it can be turned off by the kernel if not set
explicitally set

sockets adding TCP_QUICKACK constant.

having tigher control on ACK delays, difference is the setting
is `volatile` as it can be turned off by the kernel if not set
explicitally set otherwise on the socket.

Closes GH-10145.

show more ...


# 4c4e72f1 28-Oct-2022 David CARLIER

socket add socket_atmark support.

checks whether the socket belongs to the out-of-band mark, thus allows to be
processed accordingly (using the MSG_OOB flag on send/recv).

Clos

socket add socket_atmark support.

checks whether the socket belongs to the out-of-band mark, thus allows to be
processed accordingly (using the MSG_OOB flag on send/recv).

Closes #9846.

show more ...


Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28
# 615b8006 08-Feb-2022 David Carlier

socket module add SO_ATTACH_REUSEPORT_CPBF for Linux.

to be used in conjunction with SO_REUSPORT, giving a greater control
over how we bind a socket instead of the round robin workflow,

socket module add SO_ATTACH_REUSEPORT_CPBF for Linux.

to be used in conjunction with SO_REUSPORT, giving a greater control
over how we bind a socket instead of the round robin workflow, we do
instead attach to the processor id as :
- we assign the processor_id to A in the BPF filter.
- then returns A.

in other words, a more modern version of SO_INCOMING_CPU (ie can have a per
worker notion we do not use here).
Closes #8062

show more ...


# 4767b099 19-Sep-2022 Christoph M. Becker

Fix GH-9574: SOCKET_EPROTO constant missing since PHP 8.2 dev

Closes GH-9575.


# e733ebf3 02-Sep-2022 Máté Kocsis

Add parenthesis around preprocessor conditions in stubs

gen_stub.php concatenates nested #ifs into one #if so let's make sure the semantics remain the same.


# 98e5c4e3 16-Aug-2022 Máté Kocsis

Declare ext/sockets constants in stubs (#9349)

Revision tags: php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4
# d9e5e630 07-Oct-2021 Máté Kocsis

Add more specific array return type hints for various extensions - part 6 (#7474)

Revision tags: php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1
# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation

Revision tags: php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1
# a730dc0c 15-Feb-2021 Máté Kocsis

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

Closes GH-6696

Revision tags: php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1
# 41e9a8eb 10-Jan-2021 Christoph M. Becker

socket_create_pair() can no longer return NULL

Closes GH-6592.

Revision tags: php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1
# 79484b4f 05-Oct-2020 Nikita Popov

Update ext/sockets parameter names

Also change $max_length to $length in a number of filesystem APIs,
where our usage was inconsistent.

Closes GH-6276.

12