Request for a better TempraryStorage cleanup
- Install IG 6.5.2
- Create a route with ReverseProxyHandler and set "asyncBehavior: streaming"
- Download a large file such as PDF, MP4 etc
- Notice temporary files buf*.tmp are accumulating and it never gets deleted
Create a custom script to delete temporary files manually when IG server is shutdown.
NOTE: TemporaryBuffer.close() deletes temporary buffer when the response has been processed and completed. However, TemporaryBuffer.close() is not called in finally clause so in case of IOException due to client disconnect etc., temporary files are left without getting deleted and gets accumulated.