Hi Team,

The issue which we faced is related to use Netty in Apache CXF 
(cxf-rt-transports-http-netty-client 3.5.8).
"Error"  "06/21/2024"    "14:02:23:294" 
"io.netty.handler.codec.http.TooLongHttpContentException: Response entity too 
large: HttpObjectAggregator$AggregatedFullHttpResponse(decodeResult: success, 
version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 1048576, cap: 
1048576, components=145))

I assume that this issue is happening due to   
org.apache.cxf.transport.http.netty.maxResponseContentLength in 
NettyHttpConduit.java. It seems that the response content length is bigger than 
the default value of content length in NettyHttpConduit.java.
The question is, how can we change the value of this property?

Thanks,
Hossein

Reply via email to