-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Plumb cancellation into Socket's implementation #23736
Comments
Just a note for whoever resolves this: |
Hi @stephentoub further to our discussion in dotnet/corefx#25511 (here), I could pass down the CancellationToken all the way to Would you like to see the code? Appreciate your inputs / hints on this one. Thanks! |
Oh I just noticed, #23138 is also no more up-for-grabs :-) ... So should I be working on something else...? Thanks! |
(I'm the wrong Stephen, but...) My first assumption is going to be that you're going to end up with different methods - a Now, you're probably still going to want to use/manage a |
We won't be able to address this in 2.1, moving to Future. |
What might be the ETA for fixing this issue? |
Adding two related issues:
|
#22919 adds public API to Socket types that accept CancellationToken. We can implement the APIs to just do an upfront check, but the real value is when cancellation is plumbed through to support canceling the actual I/O. This issue represents doing that work.
The text was updated successfully, but these errors were encountered: