Skip to content
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

add SO_REUSEPORT for freebsd 11 #2366

Merged
merged 1 commit into from
Mar 23, 2020
Merged

add SO_REUSEPORT for freebsd 11 #2366

merged 1 commit into from
Mar 23, 2020

Conversation

lucifer9
Copy link
Contributor

FreeBSD 11 is a Production Release, so add back required SO_REUSEPORT support.
Still use SO_REUSEPORT_LB in FreeBSD 12+, which allow multiple programs or threads to bind to the same port and incoming connections will be load balanced using a hash function.

@lucifer9 lucifer9 mentioned this pull request Mar 23, 2020
@ninepeach
Copy link

work fine. Thanks!!!

@kslr kslr merged commit c0f4cac into v2ray:master Mar 23, 2020
@lucifer9 lucifer9 deleted the freebsd11 branch March 24, 2020 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants