| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…g operation The same pattern occurs in a couple of other places, as well.
|
Tagging subscribers to this area: @dotnet/area-system-io |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Backport of #115453 to release/8.0-staging
/cc @stephentoub
Customer Impact
A small leak of native handles occurs when a PipeStream is disposed of while an asynchronous read or write is pending on the stream. A customer noticed this in the context of using HttpClient with pipes as the transport, such that after long periods of uptime and with connections that would idle out after long periods of time, their memory usage would slowly increase.
Regression
.NET 6
Testing
Manually validated, in addition to normal testing. Also found a couple of additional places the same pattern occurred and fix those locations.
Risk
Low. The fix is localized to disposing of a resource in a situation it wasn't being cleaned up.