Skip to content

CommonsMultipartResolver should support setFileSizeMax [SPR-13200] #17792

@spring-projects-issues

Description

@spring-projects-issues

Ponymz opened SPR-13200 and commented

Current CommonsMultipartResolver contains attribute maxUploadSize, it invokes apache commons fileupload.setSizeMax() which limits the size of the whole request. It should provide another attribute which invokes apache commons fileupload.setFileSizeMax() which limits the size of a single file.

Note: Now even I create a customMultipartResolver which extends CommonsMultipartResolver, and then invoke this.getFileupload().setFileSizeMax(), it doesn' work.


Issue Links:

Referenced from: commits 23124d1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions