Skip to content

Commit 499b739

Browse files
committed
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.
1 parent fd73681 commit 499b739

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

UPGRADING

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ PHP 8.4 UPGRADE NOTES
570570
. SOCK_CONN_DGRAM (NetBSD only).
571571
. SOCK_DCCP (NetBSD only).
572572
. TCP_SYNCNT (Linux only).
573+
. SO_EXCLBIND (Solaris/Illumos only).
573574

574575
- Sodium:
575576
. SODIUM_CRYPTO_AEAD_AEGIS128L_KEYBYTES

ext/sockets/sockets.stub.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,13 @@
410410
*/
411411
const SO_BPF_EXTENSIONS = UNKNOWN;
412412
#endif
413+
#ifdef SO_EXCLBIND
414+
/**
415+
* @var int
416+
* @cvalue SO_EXCLBIND
417+
*/
418+
const SO_EXCLBIND = UNKNOWN;
419+
#endif
413420
#ifdef SKF_AD_OFF
414421
/**
415422
* @var int

ext/sockets/sockets_arginfo.h

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)