Updates CustomBlockHoundIntegration to whitelist more netty
This commit is contained in:
@@ -25,10 +25,15 @@ public class CustomBlockHoundIntegration implements BlockHoundIntegration {
|
||||
|
||||
@Override
|
||||
public void applyTo(BlockHound.Builder builder) {
|
||||
/*
|
||||
* builder.blockingMethodCallback(it -> { Error error = new Error(it.toString());
|
||||
* error.printStackTrace(); throw error; });
|
||||
*/
|
||||
// builder.blockingMethodCallback(it -> {
|
||||
// Error error = new Error(it.toString());
|
||||
// error.printStackTrace();
|
||||
// throw error;
|
||||
// });
|
||||
|
||||
// Uses Unsafe#park
|
||||
builder.allowBlockingCallsInside("reactor.core.scheduler.SchedulerTask",
|
||||
"dispose");
|
||||
|
||||
// Uses
|
||||
// ch.qos.logback.classic.spi.PackagingDataCalculator#getImplementationVersion
|
||||
@@ -69,6 +74,12 @@ public class CustomBlockHoundIntegration implements BlockHoundIntegration {
|
||||
"execute");
|
||||
builder.allowBlockingCallsInside(
|
||||
"io.netty.util.concurrent.SingleThreadEventExecutor$6", "run");
|
||||
// builder.allowBlockingCallsInside("io.netty.util.concurrent.GlobalEventExecutor",
|
||||
// "takeTask");
|
||||
// builder.allowBlockingCallsInside("io.netty.util.concurrent.GlobalEventExecutor",
|
||||
// "addTask");
|
||||
builder.allowBlockingCallsInside(
|
||||
"io.netty.util.concurrent.FastThreadLocalRunnable", "run");
|
||||
|
||||
// SECURITY RELATED
|
||||
|
||||
|
||||
Reference in New Issue
Block a user