spring-boot version : 1.3.5 I set multipart.file-size-threshold=40MB in application properties. When I am using embedded tomcat, I see that there is no write operations on disk during upload requests. When I am using undertow, there are still write operations on disk.
How can i upload multiparts without disk writing via undertow?
Thanks.
This is a limitation of Undertow. Looking at its code it doesn't appear to honour the file size threshold and there's a todo to that effect in ManagedServlet
.