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

Allow to cancel connect() operations when using io_uring #237

Merged
merged 1 commit into from Feb 16, 2024

Conversation

normanmaurer
Copy link
Member

Motivation:

Whe using io_uring we can in fact cancel a connect() operation by just closing the underyling fd.

Modifications:

Don't mark the promise as uncancellable before issue the non-blocking connect() call Add comment to explain code

Result:

Related to netty/netty#13843 and netty/netty#13849

Motivation:

Whe using io_uring we can in fact cancel a connect() operation by just closing the underyling fd.

Modifications:

Don't mark the promise as uncancellable before issue the non-blocking connect() call
Add comment to explain code

Result:

Related to netty/netty#13843 and netty/netty#13849
@normanmaurer normanmaurer added this to the 0.0.25.Final milestone Feb 16, 2024
@normanmaurer normanmaurer merged commit dfc64bb into main Feb 16, 2024
8 checks passed
@normanmaurer normanmaurer deleted the connect_cancel branch February 16, 2024 13:30
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

1 participant