You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Christofer Dutz (Jira)" <ji...@apache.org> on 2021/01/25 07:59:00 UTC

[jira] [Commented] (PLC4X-182) Request split / Message Split

    [ https://issues.apache.org/jira/browse/PLC4X-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17271126#comment-17271126 ] 

Christofer Dutz commented on PLC4X-182:
---------------------------------------

The S7 Driver now should generally auto-split large requests into multiple requests. However the only thing missing is that if one item size exceeds the size of a message, this causes failure. Here we need to split up the array into multiple parts and join them back together. In the 0.6 branch it was implemented this way, this still needs to happen on the new version on develop.

> Request split / Message Split
> -----------------------------
>
>                 Key: PLC4X-182
>                 URL: https://issues.apache.org/jira/browse/PLC4X-182
>             Project: Apache PLC4X
>          Issue Type: Improvement
>          Components: Driver-S7
>            Reporter: César García
>            Assignee: César García
>            Priority: Major
>             Fix For: 0.6.1
>
>
> # 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)