-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-System.Net.Httphelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorstest-enhancementImprovements of test source codeImprovements of test source code
Milestone
Description
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.
runtime/src/libraries/Common/src/System/Net/Http/aspnetcore/Http3/QPack/QPackDecoder.cs
Line 111 in 9277301
| 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Net.Httphelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorstest-enhancementImprovements of test source codeImprovements of test source code