Files
dotnet-runtime/src/libraries/System.Net.Http
stephentoub 77c4c79e77 Respect CancellationToken provided to ReadAsync
In the previous commit, we only polled the user-provided CancellationToken prior to waiting on the synchronization primitive, but the sync primitive wait was only cancelable by shutting down the stream.  This commit updates that logic to support also canceling the asynchronous wait via the user-provided CancellationToken.


Commit migrated from https://github.com/dotnet/corefx/commit/80d2b157525211b655c3f81dde0ace6be9617720
2015-09-02 23:44:56 -04:00
..
2015-08-13 17:07:57 -07:00