QuicSpdyStreamTest HTTP/3 frame generation refactor.

Add HeadersFrame() and DataFrame() methods to QuicSpdyStreamTest that generate
HTTP/3 headers, and use them unless the test specifically needs to know the
frame header length or needs the frame header and frame payload separately.

Also minor fixes: factor out some string literals; fix progreesive_encoder typo;
restrict class member visibility; do not call Initialize if not necessary
(HasFrameHeader() now queries transport_version from GetParams() instead of
|connection_|).

gfe-relnote: n/a, test-only change.
PiperOrigin-RevId: 252088038
Change-Id: I28121b2a4994aafa1da84438cc4ff983d7a0586d
1 file changed
tree: 481f82fe4eb50fe25433e95cfca1b9fd546eebdb
  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.

The code is currently in process of being moved from https://cs.chromium.org/chromium/src/net/third_party/ into this repository. Please excuse our appearance while we're under construction.