aspnet/ResponseCaching

SegmentReadStream should override CopyTo when available

JunTaoLuo opened this issue · 1 comments

In https://github.com/dotnet/corefx/issues/11342 CopyTo was made virtual. We should override this with the same logic as CopyToAsync to avoid the unnecessary calls to Read in the SegmentReadStream.

This issue was moved to dotnet/aspnetcore#2610