Skip to content

Auto-port 5.0: Epoll / Kqueue: Correctly handle receive of FD#16902

Merged
chrisvest merged 1 commit into
5.0from
auto-port-pr-16872-to-5.0
Jun 4, 2026
Merged

Auto-port 5.0: Epoll / Kqueue: Correctly handle receive of FD#16902
chrisvest merged 1 commit into
5.0from
auto-port-pr-16872-to-5.0

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #16872 to 5.0
Cherry-picked commit: 652663c


Motivation:

We didn't correctly handle all error cases and special cases when receiving FDs via UDS. This could lead to leaked FDs.

Modifications:

  • Correctly handle truncation
  • Correctly handle the case when we receive more then one FD

Result:

No more FD leak

Motivation:

We didn't correctly handle all error cases and special cases when
receiving FDs via UDS. This could lead to leaked FDs.

Modifications:

- Correctly handle truncation
- Correctly handle the case when we receive more then one FD

Result:

No more FD leak

(cherry picked from commit 652663c)
@chrisvest chrisvest added this to the 5.0.0.Final milestone Jun 4, 2026
@chrisvest chrisvest merged commit 55edea8 into 5.0 Jun 4, 2026
12 of 13 checks passed
@chrisvest chrisvest deleted the auto-port-pr-16872-to-5.0 branch June 4, 2026 17:00
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.

3 participants