coheigea opened a new pull request, #3796:
URL: https://github.com/apache/cxf/pull/3796

   getDefaultTempDir only created a directory when defaultTempDir was null,
   so once the cxf-tmp-* directory it created was removed while the JVM was
   running (e.g. by systemd-tmpfiles or tmpwatch cleaning an idle /tmp), it
   kept returning the deleted path until restart. CachedOutputStream and
   CachedWriter then fail to create temp files and silently keep large
   payloads in memory instead of spilling them to disk.
   
   Create a new random directory when the old one is gone, replacing the
   shutdown hook as before. A fresh directory is used rather than recreating
   the old, predictable path in a shared tmpdir.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to