Call visitor_.OnInvalidFrame() for oghttp2 header errors.

This CL causes OgHttp2Session to call visitor_.OnInvalidFrame() when
encountering a stream-level header error, including header validation errors.
Based on the OnInvalidFrame() return value, OgHttp2Session can treat the error
as a stream-level error (RST_STREAM) or a connection-level error (RST_STREAM +
GOAWAY). This call and handling allow the following frame flooding tests
involving header validation to pass with cl/392724171:
  - Http2FloodMitigationTest.UpstreamZerolenHeaderAllowed
    http://sponge2/46bed1d4-d301-482a-9721-9e8e0c0a0baa
  - Http2FloodMitigationTest.UpstreamZerolenHeader
    http://sponge2/3156868a-dd44-4c0a-a7dd-7107f1ed229c

PiperOrigin-RevId: 407608309
3 files changed
tree: 1bd3b16c358b2b777ddb9f04f319947faaf48ac0
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

QUICHE stands for QUIC, Http/2, 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.