|
|
@ -42,11 +42,32 @@ public class CustomBlockHoundIntegration implements BlockHoundIntegration { |
|
|
|
builder.allowBlockingCallsInside("org.springframework.util.MimeTypeUtils", |
|
|
|
builder.allowBlockingCallsInside("org.springframework.util.MimeTypeUtils", |
|
|
|
"generateMultipartBoundary"); |
|
|
|
"generateMultipartBoundary"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// SPRING DATA REDIS RELATED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Uses Unsafe#park
|
|
|
|
|
|
|
|
builder.allowBlockingCallsInside( |
|
|
|
|
|
|
|
"org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory", |
|
|
|
|
|
|
|
"getReactiveConnection"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// NETTY RELATED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Uses Thread#sleep
|
|
|
|
|
|
|
|
builder.allowBlockingCallsInside("io.netty.channel.nio.NioEventLoop", |
|
|
|
|
|
|
|
"handleLoopException"); |
|
|
|
|
|
|
|
builder.allowBlockingCallsInside( |
|
|
|
|
|
|
|
"io.netty.util.concurrent.SingleThreadEventExecutor", "confirmShutdown"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Uses Unsafe#park
|
|
|
|
|
|
|
|
builder.allowBlockingCallsInside("io.netty.util.concurrent.GlobalEventExecutor", |
|
|
|
|
|
|
|
"execute"); |
|
|
|
|
|
|
|
|
|
|
|
// SECURITY RELATED
|
|
|
|
// SECURITY RELATED
|
|
|
|
|
|
|
|
|
|
|
|
// For HTTPS traffic
|
|
|
|
// For HTTPS traffic
|
|
|
|
builder.allowBlockingCallsInside("io.netty.handler.ssl.SslHandler", |
|
|
|
builder.allowBlockingCallsInside("io.netty.handler.ssl.SslHandler", |
|
|
|
"channelActive"); |
|
|
|
"channelActive"); |
|
|
|
|
|
|
|
builder.allowBlockingCallsInside("io.netty.handler.ssl.SslHandler", |
|
|
|
|
|
|
|
"channelInactive"); |
|
|
|
builder.allowBlockingCallsInside("io.netty.handler.ssl.SslHandler", "unwrap"); |
|
|
|
builder.allowBlockingCallsInside("io.netty.handler.ssl.SslHandler", "unwrap"); |
|
|
|
builder.allowBlockingCallsInside("io.netty.handler.ssl.SslContext", |
|
|
|
builder.allowBlockingCallsInside("io.netty.handler.ssl.SslContext", |
|
|
|
"newClientContextInternal"); |
|
|
|
"newClientContextInternal"); |
|
|
|