network: on freebsd using SO_REUSEPORT_LB for a better distribution.#20250
Merged
bukka merged 2 commits intophp:masterfrom Nov 3, 2025
Merged
network: on freebsd using SO_REUSEPORT_LB for a better distribution.#20250bukka merged 2 commits intophp:masterfrom
bukka merged 2 commits intophp:masterfrom
Conversation
cb89b23 to
23cd119
Compare
23cd119 to
98b9c4f
Compare
bukka
approved these changes
Nov 3, 2025
98b9c4f to
51d4aab
Compare
SO_REUSEPORT on FreeBSD acts differently as the underlying semantic is different (as it predates Linux) since it s more for UDP/multicasts. The SO_REUSEPORT_LB flag, however, uses load balancing for group of address:port combinations which is how Linux is implemented. Co-authored-by: Jakub Zelenka <bukka@php.net>
51d4aab to
e6a2f03
Compare
Member
|
I'm just looking to a test for SO_REUSEPORT so will include it here so leave the merging with me. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SO_REUSEPORT on FreeBSD acts differently as the underlying semantic
is different (as it predates Linux) since it s more for UDP/multicasts.
The SO_REUSEPORT_LB flag, however, uses load balancing for group
of address:port combinations which is how Linux is implemented.