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

dragonfly: disable SO_REUSEPORT for UDP socket bindings #4410

Merged
merged 3 commits into from
May 20, 2024

Conversation

panjf2000
Copy link
Contributor

We shouldn't enable SO_REUSEPORT on DragonflyBSD because that socket option has different semantics from other *BSD: it shares the port rather than steals it.

---------

Signed-off-by: Andy Pan <i@andypan.me>
@saghul
Copy link
Member

saghul commented May 17, 2024

LGTM, can you please extend the commend above the code which mentions this in the context of Linux?

Copy link
Member

@santigimeno santigimeno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

---------

Signed-off-by: Andy Pan <i@andypan.me>
@panjf2000
Copy link
Contributor Author

One more thing,

LGTM, can you please extend the commend above the code which mentions this in the context of Linux?

Done!

---------

Signed-off-by: Andy Pan <i@andypan.me>
@panjf2000
Copy link
Contributor Author

I think this PR is good to go?
@saghul @santigimeno

@santigimeno
Copy link
Member

Yes, can you please squash the commits?

@panjf2000
Copy link
Contributor Author

panjf2000 commented May 20, 2024

I thought you could squash commits when merging a GitHub PR?

@santigimeno santigimeno merged commit 10ccd08 into libuv:v1.x May 20, 2024
26 checks passed
@santigimeno
Copy link
Member

You're right. Merged

@panjf2000 panjf2000 deleted the udp-reuseport branch May 20, 2024 10:38
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