Skip to content

Commit

Permalink
Refs #21707. Add TODO so we don't forget to correctly process key-onl…
Browse files Browse the repository at this point in the history
…y payloads in the future.

Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany committed Sep 25, 2024
1 parent 284ba05 commit 3a035d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cpp/rtps/messages/MessageReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ bool MessageReceiver::proc_Submsg_Data(
uint32_t next_pos = msg->pos + payload_size;
if (msg->length >= next_pos && payload_size > 0)
{
FASTDDS_TODO_BEFORE(3, 1, "Pass keyFlag in serializedPayload, and always pass input data upwards");
if (dataFlag)
{
ch.serializedPayload.data = &msg->buffer[msg->pos];
Expand Down

0 comments on commit 3a035d5

Please sign in to comment.