Jonathan De Leon
07/11/2022, 4:48 PMktor-server
? I'm using 1.6.8
.Aleksei Tirman [JB]
07/12/2022, 11:47 AMJonathan De Leon
07/14/2022, 12:02 AMMultipartData
to find the file and read the input. Tricky part was figuring out a way to read but also let other interceptors (plugins) have access to the parts. This was necessary since once you read the parts i.e. readAllParts()
you cannot re-read them. In addition, once you receiveMultipart
you cannot do it again unless you add the DoubleReceive
plugin. Lots of different caveats in order to determine the file size.
Most server engines (Netty, Tomcat, etc) process the file, so it wouldn't be too difficult to add an engine configuration similar to how Spring does it.