plc4x icon indicating copy to clipboard operation
plc4x copied to clipboard

[BUG][S7]Request split / Message Split (Optimizer)

Open ottlukas opened this issue 3 years ago • 3 comments

  • A request with many Items is divided within the limits allowed by the size of the PDU.

  • If one of the requested Items exceeds the size of the PDU it is trimmed to the maximum size of the PDU. The existing code tries to split the message, but it fails. This generates an unsafe condition.

  • Rethink the routine for handling long messages, as an additional layer in Netty.

Imported from Jira PLC4X-182. Original Jira may contain additional context. Reported by: cgarcia.

ottlukas avatar Nov 09 '22 10:11 ottlukas

@glcj I think you also implemented this, right? Can this issue be closed?

chrisdutz avatar Feb 10 '24 19:02 chrisdutz

Hello,

This routine is implemented in the S7Optimizer, I have carried out tests with the default PDU which is something around 400 bytes and I have not found any problems.

For my part, this i ssue can be considered closed.

glcj avatar Feb 12 '24 20:02 glcj

Related to #605

chrisdutz avatar Jun 30 '24 12:06 chrisdutz