Skip to content

ext/sockets adding FreeBSD's SO_REUSEPORT_LB constant. #11038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ PHP 8.3 UPGRADE NOTES
. SO_ZEROIZE (OpenBSD only).
. SO_SPLICE (OpenBSD only).
. TCP_REPAIR (Linux only).
. SO_REUSEPORT_LB (FreeBSD only).

========================================
11. Changes to INI File Handling
Expand Down
7 changes: 7 additions & 0 deletions ext/sockets/sockets.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@
*/
const SO_REUSEPORT = UNKNOWN;
#endif
#ifdef SO_REUSEPORT_LB
/**
* @var int
* @cvalue SO_REUSEPORT_LB
*/
const SO_REUSEPORT_LB = UNKNOWN;
#endif
/**
* @var int
* @cvalue SO_KEEPALIVE
Expand Down
5 changes: 4 additions & 1 deletion ext/sockets/sockets_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.