关于帖子的大请求或获取Netty Http [英] Big request on Post or Get in Netty Http

查看:115
本文介绍了关于帖子的大请求或获取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.

这篇关于关于帖子的大请求或获取Netty Http的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆