History log of /php-src/ext/sockets/sockets.c (Results 1 – 25 of 440)
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 ...


# ba4c82fd 31-Mar-2024 David Carlier

ext/sockets: socket_create_listen clearing socket data before binding.

Close GH-13855


# e3f0d034 06-Mar-2024 David Carlier

Fix GH-13603 ext/sockets: properly initialised address info data.

Led to random characters visible on socket id on macOs.

Close GH-13606


# 9c4beac8 23-Feb-2024 Jorg Sowa

Remove inet_aton

This removes the deprecated inet_aton and its Windows implementation.
The inet_aton can be replaced with platform agnostic inet_pton.

Closes GH-13479


# e630aacf 21-Feb-2024 Jorg Adam Sowa

Remove HAVE_INET_PTON (#13410)


# 931a8b07 17-Nov-2023 David CARLIER

inet_ntop requirement check at configure time instead (#12700)


# 44f9c226 29-Oct-2023 David Carlier

following-up on GH-12551: removing inet_ntoa usage

Close GH-12554


# 1c8943bc 29-Oct-2023 David Carlier

cleanup inet_ntoa usage.

starting with the socket extension. PHP 8 requires windows vista/2008
minimum, even more exotic systems like solaris or haiku supports
inet_ntop, so there is

cleanup inet_ntoa usage.

starting with the socket extension. PHP 8 requires windows vista/2008
minimum, even more exotic systems like solaris or haiku supports
inet_ntop, so there is no need to keep supporting this old interface.

Close GH-12551

show more ...


# b5da98b9 27-Sep-2023 twosee

Fix socket_export_stream() with wrong protocol

Closes GH-12310.


# 732d92c0 28-Apr-2023 Javier Eguiluz

[skip ci] Fix various typos and grammar issues (#11143)


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, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1
# 735edd1c 21-Dec-2021 George Peter Banyard

Voidify php_sock_array_from_fd_set() as result is never used


# 3eb9dd47 21-Dec-2021 George Peter Banyard

Use bool and zend_result where it makes sense in sockets extension


# 7936c808 23-Jan-2023 Máté Kocsis

Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)


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


# 35b5acef 08-Oct-2022 David Carlier

SO_ATTACH_REUSEPORT_CBPF filter update. SDK_AD_QUEUE support to attach to a queue.

Closes #9690


# 80232de0 01-Oct-2022 Arnaud Le Blanc

Return immediately when FD_SETSIZE is exceeded (#9602)


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


# 743d3780 08-Sep-2022 Ilija Tovilo

Add clang ASAN/UBSAN push job

Closes GH-9507


# a01dd9fe 14-Sep-2022 Bob Weinand

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included i

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.

show more ...


# 94ee4f98 24-Aug-2022 Bob Weinand

Port all internally used classes to use default_object_handlers

Signed-off-by: Bob Weinand <bobwei9@hotmail.com>


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

Declare ext/sockets constants in stubs (#9349)

# 9090e260 11-Mar-2022 David Carlier

sockets ext for solaris update.

socket filter support, system can support up to 32 filters giving the possibility to retrive the full list.
Closes #8191.

# dedad408 30-May-2022 David Carlier

sockets introduces socket_set_option SO_ZEROCOPY and MSG_ZEROCOPY for the socket_send* functions. it avoids copy b/w userland and kernel for both TCP and UDP protocols.

# a1934273 18-Jun-2022 David Carlier

Adds `TCP_CONGESTION` socket option for Linux/FreeBSD.

Closes #8824.

# 6b02cabc 09-Jun-2022 David CARLIER

Add `SO_SETFIB` FreeBSD socket option constant.

Aims to set the route table.
Closes #8742.

12345678910>>...18