Skip to content

Commit 43d9017

Browse files
committed
test(appsec): increase Netty test server aggregator limit to support large multipart payloads
1 parent 4014786 commit 43d9017

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dd-java-agent/instrumentation/netty/netty-4.1/src/test/groovy/Netty41ServerTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ abstract class Netty41ServerTest extends HttpServerTest<EventLoopGroup> {
7575
ChannelPipeline pipeline = ch.pipeline()
7676
pipeline.addFirst("logger", LOGGING_HANDLER)
7777
pipeline.addLast(new HttpServerCodec())
78-
pipeline.addLast(new HttpObjectAggregator(1024))
78+
pipeline.addLast(new HttpObjectAggregator(1024 * 1024))
7979
pipeline.addLast(new WebSocketServerProtocolHandler("/websocket"))
8080
pipeline.addLast([
8181
channelRead0 : { ChannelHandlerContext ctx, msg ->

0 commit comments

Comments
 (0)