hazelcast / hazelcast/hazelcast-cpp-client
[TRACKING ISSUE] Fix fragmented message handling
Open
- Dominant language
- C++
- Stars
- 91
- Forks
- 54
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 5
Description
The tracking issue for the Java side PR.
**Fix fragmented message handling**
See https://github.com/hazelcast/hazelcast/pull/17084 for details.
---
By definition, fragmented messages may have arbitrary number of frames.
However, ClientMessageDecoder was using ClientMessage#createForDecode
which expects a single frame that has no next frame. As the added test
shows, that assumption generally does not hold. Start frame of the
fragmented message may have next frames. The fix correctly creates
a client message using the start and end frames of the fragmented
message.
Contributor guide
Assessment
This issue has not been assessed yet.