Use more early returns in Balsa.

In most places, this reduces nesting.  Even where it does not, it generally
improves readability.

Also remove `else` wherever unnecessary because the `if` branch already ends
with a return, break, or continue statement.

In some places, invert `if` condition to do early return on error and make the
happy path less indented, in the spirit of go/gotip/episodes/1.  In some other
places, invert the condition to make the shortest path indented, or simply to
reduce nesting.

PiperOrigin-RevId: 443129286
2 files changed
tree: 439727de008b02bd80c940e2795e903ec333fcbb
  1. quiche/
  2. CONTRIBUTING.md
  3. LICENSE
  4. README.md
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.