-
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HttpPostStandardRequestDecoder leaks memory when constructor throws E…
…rrorDataDecoderException. (#9517) Motivation: Currently when HttpPostStandardRequestDecoder throws a ErrorDataDecoderException during construction we leak memory. We need to ensure all is released correctly. Modifications: - Call destroy() if parseBody() throws and rethrow the ErrorDataDecoderException - Add unit test Result: Fixes #9513.
- Loading branch information
1 parent
491b1f4
commit 95527ee
Showing
2 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters