Skip to content

SrsRtcTcpConn::read_packet should use read_fully instead of read #3842

@sandro-qiang

Description

@sandro-qiang

Describe the bug
read_packet use skt_->read to read packet length, not skt_->read_fully. for client not using tcp_no_delay option, this may lead to read wrong packet length.

Version
5 and 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnglishNativeThis issue is conveyed exclusively in English.good first issueEasy to fix issues, good for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions