Improve cancellation in StreamPipeReader.ReadAtLeastAsync (#53306)
* Improve cancellation in StreamPipeReader.ReadAtLeastAsync * Introduce task variable Co-authored-by: NStephen Toub <stoub@microsoft.com> * Fix tests * Expect TaskCanceledException on canceled token Co-authored-by: NStephen Toub <stoub@microsoft.com>
Showing
想要评论请 注册 或 登录