Add a poll(2)-based event loop implementation.

Currently, all of our code is hardcoded to assume EpollServer is used for the events I/O.  This is not cross-platform, since epoll is only supported on Linux.  This adds an API that abstracts the event loop away, and a default implementation that uses poll(2), which is the most cross-platform an API can get for this purpose.

PiperOrigin-RevId: 454932600
7 files changed
tree: f9a42c726c1d6cf6e3da9fb7415c3c52c323c8b2
  1. build/
  2. quiche/
  3. .bazelrc
  4. BUILD.bazel
  5. CONTRIBUTING.md
  6. LICENSE
  7. README.md
  8. WHITESPACE
  9. 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.