commit | fdba9277e9e4eeb8a54dc65590ab39dc03a1a11e | [log] [tgz] |
---|---|---|
author | ericorth <ericorth@google.com> | Wed Jun 29 14:52:39 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jun 29 14:55:10 2022 -0700 |
tree | 4611e5c8bd15fbfa1606f300c140a03179a16eee | |
parent | 06ddcce689fe69ea8e3ec58f97634938c746bc03 [diff] |
Create low-level socket library Acts to hide platform-specific details. Fills a similar role (and is written with a similar interface) as QuicUdpSocketApi, except a little more general, less specific to UDP and QUIC's usage of UDP (and not named specifically "UDP" to avoid silliness like using QuicUdpSocketFd for TCP). Converted QuicUdpSocketApi to be based off this new more general library in the couple places where trivial to do so. But I'm calling it out of scope for now to make this new library replicate all the functionality of QuicUdpSocketApi to back all of it or to convert existing usage of QuicUdpSocketApi to the new library. Simple tests to make sure each function is at least exercised, but did not aim for exhaustive testing. In a subsequent CL (cl/443757825), I still plan to add a higher-level abstraction on top of this to add RAII and deal with asynchronousness and such for TCP sockets. PiperOrigin-RevId: 458070348
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.