When using a form that uploads a file to my Play! Framework application, a file is created in ${application_path}/tmp/ with an unique ID like :
0851e44f-8d7e-4afd-8edf-3d9bd6c909c9
and contains all the data sended by the form (POST & FILES)
I located the creation of this file in :
play.server.StreamChunkAggregator.java:51
But I don’t know why this file is not removed when the request is finished.
Is there any reason that the file isn’t removed? is it specific to Play (1.2)?
The file should be removed automatically at the end of the request, so something unusual must be going wrong.