Plumb QuicStreamPriority through QuicStream and QuicSession.

No functional change still: the RFC9218 urgency has the same range as SPDY
priorities (0 to 7 inclusive), so they can be used interchangeably, and RFC9218
incremental bit is always set to false in production.

Note that this CL adds the capability to send PRIORITY_UPDATE frames with
incremental bit set to true.  This is not used in production, and in practice
the server does not send PRIORITY_UPDATE frames anyway.  However, this CL
will allow Chrome to send such frames.

This CL does not touch methods used for Google QUIC HEADERS and PRIORITY frames
on the headers stream, because they use SpdyStreamPrecedence directly.  These
calls will eventually be removed with gQUIC.

QuicWriteBlockedList changes will follow in a separate CL.

https://github.com/google/quiche/issues/25

PiperOrigin-RevId: 494791164
16 files changed
tree: 8667c7e6792764983d2409e2f5df4743cc93f8ea
  1. build/
  2. depstool/
  3. quiche/
  4. .bazelrc
  5. BUILD.bazel
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
  9. WHITESPACE
  10. WORKSPACE.bazel
README.md

QUICHE

QUICHE stands for QUIC, Http, Etc. It is Google‘s production-ready implementation of QUIC, HTTP/2, HTTP/3, and related protocols and tools. It powers Google’s servers, Chromium, Envoy, and other projects. It is actively developed and maintained.

There are two public QUICHE repositories. Either one may be used by embedders, as they are automatically kept in sync:

To embed QUICHE in your project, platform APIs need to be implemented and build files need to be created. Note that it is on the QUICHE team's roadmap to include default implementation for all platform APIs and to open-source build files. In the meanwhile, take a look at open source embedders like Chromium and Envoy to get started:

To contribute to QUICHE, follow instructions at CONTRIBUTING.md.

QUICHE is only supported on little-endian platforms.