History log of /php-src/ext/sockets/sockets.c (Results 26 – 50 of 446)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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.

# d677cc13 06-Jun-2022 David Carlier

Add `SO_BPF_EXTENSIONS` flag to socket.

Returns the supported bpf extensions from the kernel. Linux only.
Closes GH-8713.

# f813520b 02-Jun-2022 David CARLIER

Implements socket ancillary data on FreeBSD. (#7708)

using LOCAL_CREDS_PERSISTENT/SCM_CREDS2 instead so we also get the send process id.

# 30c8f3a8 01-Jun-2022 David Carlier

Fix GH-8674: sockets extension won't build for older Linux kernels

In abscence of the needed header, disable the feature altogether.

Closes GH-8677.

# b14215ab 27-May-2022 David CARLIER

sockets add openbsd's SO_RTABLE option, equivalent of Linux's SO_MARK. (#8440)

# d1c570f4 27-May-2022 David CARLIER

Sockets: add constants TCP_KEEPALIVE, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT (#8473)

# 2410e378 20-Apr-2022 David Carlier

Add SO_MEMINFO socket option for gathering socket related info

# 1f4830f2 15-May-2022 David Carlier

Add TCP_NOTSENT_LOWAT socket option

Can be used to limit the amount of unsent data per socket.

Closes GH-8559.

# e1a23833 04-Jan-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

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


# 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.0.14, php-8.1.1, php-7.4.27
# 3414ae6c 10-Dec-2021 David Carlier

sockets: add SO_INCOMING_CPU constant

get/set the cpu attached to a socket, no special treatment needed,
it is simply an integer.

Closes GH-7753.

Revision tags: 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
# 90b7bde6 03-Nov-2021 Dmitry Stogov

Use more compact representation for packed arrays.

- for packed arrays we store just an array of zvals without keys.
- the elements of packed array are accessible throuf as ht->arPacked[

Use more compact representation for packed arrays.

- for packed arrays we store just an array of zvals without keys.
- the elements of packed array are accessible throuf as ht->arPacked[i]
instead of ht->arData[i]
- in addition to general ZEND_HASH_FOREACH_* macros, we introduced similar
familied for packed (ZEND_HASH_PACKED_FORECH_*) and real hashes
(ZEND_HASH_MAP_FOREACH_*)
- introduced an additional family of macros to access elements of array
(packed or real hashes) ZEND_ARRAY_ELEMET_SIZE, ZEND_ARRAY_ELEMET_EX,
ZEND_ARRAY_ELEMET, ZEND_ARRAY_NEXT_ELEMENT, ZEND_ARRAY_PREV_ELEMENT
- zend_hash_minmax() prototype was changed to compare only values

Because of smaller data set, this patch may show performance improvement
on some apps and benchmarks that use packed arrays. (~1% on PHP-Parser)

TODO:
- sapi/phpdbg needs special support for packed arrays (WATCH_ON_BUCKET).
- zend_hash_sort_ex() may require converting packed arrays to hash.

show more ...

Revision tags: 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, 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
# 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

Revision tags: php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1
# 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)

Revision tags: php-8.1.0alpha1
# fc147ed8 05-Jun-2021 David Carlier

sockets exposing TC_DEFER_ACCEPT to optimise tcp exchanges.

Revision tags: php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1
# 95a9e558 16-May-2021 David Carlier

Pull #6989 FreeBSD defines SO_ACCEPTFILTER

12345678910>>...18