Commit Graph

1 Commits

Author SHA1 Message Date
Chris Ross (ASP.NET) bccd1ea5e8 Merged PR 9014: [2.1] Cancel SendFile copy loops
There are two places in 2.1 where SendFileAsync falls back to a copy loop. These loops should short circuit when the client disconnects, or else the server will sit there and burn resources reading the whole file from disk.

Fix: If you passed in your own active CT we'll use it. Otherwise we'll use the RequestAborted token.
2020-07-16 21:30:13 +00:00