Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.19.1
-
None
Description
When a multipart/form-data POST is received by ListenHTTP and the content is greater than the Multipart Read Buffer Size property, the content is written to a file on disk in "java.io.tmpdir". These files are never removed, even after the JVM is shutdown.
To duplicate:
- Configure a ListenHTTP processor with Multipart Read Buffer Size property with a small value such as 1 KB.
- Configure an InvokeHTTP processor to POST files to ListenHTTP using multipart/form-data (the Request Multipart Form-Data Name property)
- Configure a GenerateFlowFile processor to send a few files of size > 1 KB to InvokeHTTP
Observe the java.io.tmpdir (typically /tmp on Linux) has files named MultiPart3098281529241123731, MultiPart8577800175462397766, etc
Attachments
Issue Links
- links to