You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "linhuaichuan (GitHub)" <gi...@apache.org> on 2019/02/27 09:20:01 UTC

[GitHub] [incubator-dubbo] linhuaichuan commented on issue #3568: Update DubboCodec.java

1、CodecSupport.deserialize 反序列化 is ,当序列化工具使用分片读流时,当RpcResult序列化byte大于分片值时,将引起is的startIndex变动。比如fst工具:org.nustaq.serialization.util.FSTInputStream 默认使用 8000 byte读取is。
2、result.decode() 也是使用CodecSupport来反序列is。若startIndex产生变动,将引起RpcResult 读取带序列化byte不正确。最终可能产生 #3537 bug。


[ Full content available at: https://github.com/apache/incubator-dubbo/pull/3568 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org