OutputCaching middleware memory leak #61800
Labels
area-middleware
Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares
feature-output-caching
Is there an existing issue for this?
Describe the bug
OutputCacheEntry is renting an ArrayPool that never gets returned to the pool, in method: CopyHeadersFrom
aspnetcore/src/Middleware/OutputCaching/src/OutputCacheEntry.cs
Line 105 in b7fcd33
P.S the dispose is empty and is never released in any other place
Expected Behavior
ArrayPool rented should be returned
Steps To Reproduce
Normal usage of Output caching, behavior happens if there are headers to cache
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: