Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netty 'spring.netty leak detection' default property value is always applied to resource leak detector #32144

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -32,7 +32,7 @@ public class NettyProperties {
/**
* Level of leak detection for reference-counted buffers.
*/
private LeakDetection leakDetection = LeakDetection.SIMPLE;
private LeakDetection leakDetection = null;

public LeakDetection getLeakDetection() {
return this.leakDetection;
Expand Down
Expand Up @@ -2107,7 +2107,8 @@
},
{
"name": "spring.netty.leak-detection",
"defaultValue": "simple"
"description": "When null, fall back to Netty system default 'simple' or value of -Dio.netty.leakDetection.level. When set, this will overrride value of -Dio.netty.leakDetection.level",
"defaultValue": "null"
},
{
"name": "spring.quartz.jdbc.comment-prefix",
Expand Down Expand Up @@ -3366,4 +3367,4 @@
]
}
]
}
}

This file was deleted.