Skip to content

IoUring: Don't use RDHUP for non stream Channel implementations#16345

Merged
normanmaurer merged 1 commit into
4.2from
reconnect_test
Feb 25, 2026
Merged

IoUring: Don't use RDHUP for non stream Channel implementations#16345
normanmaurer merged 1 commit into
4.2from
reconnect_test

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

@normanmaurer normanmaurer commented Feb 24, 2026

Motivation:

We did not have any testing that ensured that it is actually possible to connect a DatagramChannel again after it was disconnected.

Modifications:

  • Fix IoUring to only register RDHUP for stream channels and so fix assert error
  • Adjust testcase to cover this scenario

Result:

More complete testing of DatagramChannel implementations and fix for IoUring

@normanmaurer normanmaurer added this to the 4.2.11.Final milestone Feb 24, 2026
@normanmaurer normanmaurer added needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Feb 24, 2026
@normanmaurer
Copy link
Copy Markdown
Member Author

This actually did uncover an io_uring bug... looking into it now

Motivation:

We did not have any testing that ensured that it is actually possible to connect a DatagramChannel again after it was disconnected.

Modifications:

- Fix IoUring to only register RDHUP for stream channels and so fix assert error
- Adjust testcase to cover this scenario

Result:

More complete testing of DatagramChannel implementations and fix for IoUring
@normanmaurer normanmaurer changed the title Ensure reconnect of DatagramChannel implementations work as expected. IoUring: Don't use RDHUP for non stream Channel implementations Feb 24, 2026
@normanmaurer normanmaurer removed the needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. label Feb 25, 2026
@normanmaurer normanmaurer merged commit cb326e6 into 4.2 Feb 25, 2026
19 of 20 checks passed
@normanmaurer normanmaurer deleted the reconnect_test branch February 25, 2026 09:25
@netty-project-bot
Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants