mxsm commented on PR #4702: URL: https://github.com/apache/eventmesh/pull/4702#issuecomment-1878834923
> Can we use Netty's built-in LengthFieldBasedFrameDecoder to solve the problem of sticky or half packet? I think LengthFieldBasedFrameDecoder can not solve this problem. length = CONSTANT_MAGIC_FLAG.length + VERSION.length + headerLength + bodyLength;  The actual size of the entire package is four bytes larger than the length. It does not conform to the decoding scenario of the LengthFieldBasedFrameDecoder. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
