diff options
| author | Dennis Oberst <dennis.oberst@qt.io> | 2025-11-04 16:57:39 +0100 |
|---|---|---|
| committer | Dennis Oberst <dennis.oberst@qt.io> | 2025-11-26 16:19:22 +0100 |
| commit | d56af8cb7c0cd409e2c6f515f1c2ace40c410a2a (patch) | |
| tree | 7409f55193172fba3c04ae74234d3d5133509f28 /src/corelib/kernel/qmetacontainer.cpp | |
| parent | 2619cd85797997a04d9a9238156f25ca897b9629 (diff) | |
Http2 RFC9113 MUST: Mask reserved bit in (Last) Stream ID
RFC 9113, 4.1 & 6.8 define the (Last) Stream ID field as
R(1) + Stream-ID (31)
R: A reserved 1-bit field. The semantics of this bit are undefined,
and the bit MUST remain unset (0x0) when sending and MUST be ignored
when receiving
Follow the RFC and ignore the bit when receiving.
Re-use the global 'lastValidStream' as its value (0x7FFFFFFF) exactly
represents the mask that we need.
Ref: https://datatracker.ietf.org/doc/html/rfc9113#section-4.1-4.8.1
Ref: https://datatracker.ietf.org/doc/html/rfc9113#section-6.8-9
Task-number: QTBUG-135049
Pick-to: 6.10 6.8
Change-Id: I07a410d34e11e424477b69d25d702a01528d9709
Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetacontainer.cpp')
0 files changed, 0 insertions, 0 deletions
