coheigea opened a new pull request, #3780: URL: https://github.com/apache/cxf/pull/3780
cosClosed is set when the temp file writer is closed (for example by resetOut() or when the temp file is released), but it was never reset. If the writer later spilled to a temp file again, flush() skipped the new file writer and its close() became a no-op. getReader() could then return truncated or empty content, and the file handle was leaked. Reset the flag whenever a new file writer is created, and add a regression test. -- 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]
