Skip to content

Partial reads not handled when receiving frames #2

@virendiran

Description

@virendiran

Hi, I was reviewing the Exsh communication module and noticed that read() is assumed to return a full frame in one call. Since POSIX allows partial reads, this can lead to corrupted frames and CRC mismatches.

I’d like to work on redesigning the receive logic to correctly handle fragmented reads, possibly using length-based framing or a state machine. I wanted to check with you for WoC and whether you have preferences around blocking vs timeout-based I/O.
FYI, i was checking your project for woc 5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions