hhhhzzzj commented on issue #16403: URL: https://github.com/apache/dubbo/issues/16403#issuecomment-5475941716
I looked into the Triple REST request handling path in dubbo-rpc-triple. When handling form/multipart requests, HttpPostRequestDecoder is instantiated to parse request attributes, but its destroy() / cleanFiles() lifecycle hook is never triggered upon request completion or channel inactive events. This leaves decoder-allocated buffer chunks and temporary disk files uncollected. Adding a cleanup call in the REST handler completion filter and adding a unit test for multipart form request lifecycle should resolve this cleanly. If this approach works, I would be happy to submit a PR. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
