Skip to content

Potential bug in read_frame if we receive 2 frames ready in the buffer? #111

@hbina

Description

@hbina

pub async fn read_frame(&mut self) -> crate::Result<Option<Frame>> {

If we receive 2 complete frames within a single read, we will read the first one and then exit the loop immediately.

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