-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http r.MultipartForm.RemoveAll() not working at all #69354
Comments
Related Issues and Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
Sorry, I don't get it. It should be something that go handles automatically? or was there no plan to do so? |
see #58809, it can only automatically clean up if you don't interfere with it. |
Go version
go1.23.1 windows/amd64
Output of
go env
in your module/workspace:What did you do?
call r.MultipartForm.RemoveAll() on windows, the temporary file will not be cleared. and net/http should be able to call this function automatically without user intervention at the first place. Many developers dont know this and clog their temp folder with gigabytes of data.
What did you see happen?
above
What did you expect to see?
above
The text was updated successfully, but these errors were encountered: