Skip to content

Commit be80399

Browse files
committed
fix(appsec): remove effectivelyBlocked() calls in Netty filenames and content blocking paths
1 parent cbf95b5 commit be80399

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

dd-java-agent/instrumentation/netty/netty-4.1/src/main/java/datadog/trace/instrumentation/netty41/HttpPostRequestDecoderInstrumentation.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ static void after(
174174
BlockResponseFunction brf = requestContext.getBlockResponseFunction();
175175
if (brf != null) {
176176
brf.tryCommitBlockingResponse(requestContext.getTraceSegment(), rba);
177-
requestContext.getTraceSegment().effectivelyBlocked();
178177
thr = new BlockingException("Blocked request (multipart file upload)");
179178
}
180179
}
@@ -189,7 +188,6 @@ static void after(
189188
BlockResponseFunction brf = requestContext.getBlockResponseFunction();
190189
if (brf != null) {
191190
brf.tryCommitBlockingResponse(requestContext.getTraceSegment(), rba);
192-
requestContext.getTraceSegment().effectivelyBlocked();
193191
thr = new BlockingException("Blocked request (multipart file upload content)");
194192
}
195193
}

0 commit comments

Comments
 (0)