Skip to content

[HTTP/3] Error when reading trailing headers (unit tests) #46263

@JamesNK

Description

@JamesNK

If a HTTP/3 response has trailing headers then HttpClient throws an error in the QPACK decoder when decoding the trailers. I believe the cause is HttpClient is not resetting QPackDecoder state back to its initial value after parsing the response headers.

private State _state = State.RequiredInsertCount;

When the decoder runs for the second time for a response, the state should be RequiredInsertCount. It is actually is CompressedHeaders.

@scalablecory

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions