Inconsistent behavior of ClientWebSockets on cancellation #29763
Labels
area-System.Net
bug
tenet-compatibility
Incompatibility with previous versions or .NET Framework
tenet-reliability
Reliability/stability related issue (stress, load problems, etc.)
Milestone
In addition to the documentation issue (see @JohBa comment) I'd like to report this as API-bug as well as all current implementations seems to behave differently.
Interesting is the response from @karelz :
Because no implementation actually has this (imho expected) behavior.
For completeness:
netcore2.2
net461
Interestingly, there not even a nice way to "detect" the request was canceled in the full framework (besides checking the token in the
catch
block, which only works directly on the call-site).The text was updated successfully, but these errors were encountered: