netty5/codec-http
Kevin Wu 95ce1b95ea
Fix DeleteOnExitHook cause memory leak (#10560)
Motivation:

If DeleteOnExitHook is in the open state and the program runs for a long time, the DeleteOnExitHook file keeps increasing.
This results in a memory leak


Modification:

I re-customized a DeleteOnExitHook hook. If DeleteOnExitHook is turned on, this hook will be added when creating a temporary file. After the request ends and the corresponding resources are released, the current file will be removed from this hook, so that it will not increase all the time.

Result:

Fixes https://github.com/netty/netty/issues/10351
2020-09-15 16:38:42 +02:00
..
src Fix DeleteOnExitHook cause memory leak (#10560) 2020-09-15 16:38:42 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2020-09-08 05:26:25 +00:00