关于帖子的大请求或获取Netty Http

问题描述:

我主要使用Netty进行套接字连接。但我也想使用netty来处理一些http连接。
问题是:发送到Netty Http Server的post方法中的数据太大了。因此Netty提出异常:长帧异常。
任何人请告诉我如何配置Netty接受更大的Post param值。
非常感谢

I am using Netty for socket connection mainly. But i also want to use netty to handle some http connections as well. The problem is : the data in the post method sent to Netty Http Server is so large . So Netty raise the exception: Long Frame Exception. Anyone please tell me how to configure Netty accept bigger Post param value. Thank you very much

我怀疑你有 HttpChunkAggregator 在管道中。请将其删除并自行处理 HttpChunk

I suspect you have HttpChunkAggregator in the pipeline. Please remove it and handle HttpChunk by yourself.