Skip to content

Purge incomplete fractional messages from the message assembly buffer after a timeout #787

@balazsracz

Description

@balazsracz

Currently IfCan is reassembling multi-frame messages using an internal buffer which does not have a limit on the memory size. If there are partial messages coming and they never are completed, this buffer will keep growing.

We should have some eviction policy that messages which are incomplete after some period of time (say 3 seconds) elapsed since the last frame will be dropped, either silently or with an OIR to the sender.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions