Skip to content

END_HEADERS as first packet triggers assertion error #236

@nikic

Description

@nikic

Feeding hex2bin("000000010400000000") into the Http2Parser results in an assertion failure:

assert(): assert($this->headerBuffer !== '') failed in .../http-client/src/Connection/Internal/Http2Parser.php on line 316

At least assuming I'm not missing something about error handling conventions here.

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