unsupported message type: DefaultFullHttpResponse (expected: ByteBuf, FileRegion) 原因以及解决办法
使用netty做http服务器的时候 用android链接 会出现这个错误
原因是http-aggregator顺序有问题
(ps:目前大部分国内博客都是这个排序有点坑爹):
官方文档说明:For convenience, consider putting a HttpServerCodec before the HttpObjectAggregator as it functions...
原创
2018-09-22 17:24:32 ·
8919 阅读 ·
1 评论