mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	Call MultipartForm.RemoveAll when request finishes (#19606)
This commit is contained in:
		| @@ -79,6 +79,8 @@ func Init(next http.Handler) http.Handler { | ||||
| 				"PasswordHashAlgorithms": user_model.AvailableHashAlgorithms, | ||||
| 			}, | ||||
| 		} | ||||
| 		defer ctx.Close() | ||||
|  | ||||
| 		ctx.Req = context.WithContext(req, &ctx) | ||||
| 		next.ServeHTTP(resp, ctx.Req) | ||||
| 	}) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user