Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Dispose the FileBufferingReadStream created by ReadFormAsync #393

@Tratcher

Description

@Tratcher

BufferingHelper.EnableRewind creates a temp file to store the request buffer in if it gets too large. Currently this file is only deleted when closed by GC, where it could be deleted at the end of the given request. Register for Response.RegisterForDispose when the file is created.

https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNet.Http/BufferingHelper.cs#L47-L49

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions