Call MultipartForm.RemoveAll when request finishes (#19606)

This commit is contained in:
wxiaoguang authored and GitHub committed 2022-05-05 16:13:23 +02:00
1 parent 7b089c465d
commit 04fc4b7e05
7 files changed
+21

No files matched your search

+1
View File
@@ -100,6 +100,7 @@ func PackageContexter() func(next http.Handler) http.Handler {
Resp: NewResponse(resp),
Data: map[string]interface{}{},
}
defer ctx.Close()
ctx.Req = WithContext(req, &ctx)