Skip to content

Conversation

@devnexen
Copy link
Member

@devnexen devnexen commented Aug 4, 2025

To increase security, we trade off performance on failures, see comment for the reasoning behind.

To increase security, we trade off performance on failures, see comment
for the reasoning behind.
@devnexen
Copy link
Member Author

devnexen commented Aug 4, 2025

@cmb69 I would like to pick up your big brain on this whenever you get the chance :) cheers.

@devnexen devnexen marked this pull request as ready for review August 7, 2025 15:15
@devnexen devnexen requested a review from bukka as a code owner August 7, 2025 15:15
* It potentially allow a same address/port combination, even from an active connection (aka port hijacking).
* We trade the "fast port reuse on failure" ability though but performance ought to take a backseat on this matter.
* It might be tempting to use SO_EXCLUSIVEADDRINUSE, but it can significantly increase the amount of binding failures
* without real benefits .. but it is open for discussions.
Copy link
Member Author

Choose a reason for hiding this comment

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

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.

1 participant