会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lidachui
博客园
首页
新随笔
联系
订阅
管理
2024年12月18日
Netty出现的异常【已解决】:An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
摘要: 修改方案: byteBuf.retain(); ByteBuf后面添加这个retain(),这个添加原则是这样,如果你消耗了一次ByteBuf,你的下游Handler还需要再次消耗的话,就需要添加这个retain(),以此类推,一定要要注意添加的时机,不然的话可能需要自己手动释放; 原因分析:这个错
阅读全文
posted @ 2024-12-18 16:23 乐可乐
阅读(1974)
评论(0)
推荐(0)
公告