Refactor MaybeSendPriorityUpdateFrame().

|priority_sent_| was used to make sure PRIORITY_UPDATE frame is sent with
initial headers but not with trailers.  Moving code from WriteHeadersImpl() to
WriteHeaders() achieves the same.  Also refactor code into
MaybeSendPriorityUpdateFrame() so that it can be reused in a future CL for
sending PRIORITY_UPDATE frame when priority changes after initial headers are
sent.

gfe-relnote: n/a, change to QUIC v99-only code.  Protected by existing disabled gfe2_reloadable_flag_quic_enable_version_99.
PiperOrigin-RevId: 292379616
Change-Id: Iad35e1a8698bf019b698fb39a7308758bd08b5fa
2 files changed
tree: 2a724fa1b9ce96e8c0e3b420d6e5c6e5bda731bd
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects.