Fix unused libc++ struct variable warnings in google3-SoT `//third_party` packages. More info at go/libcxx-unused-struct-lsc LLVM libc++ was updated ([commit](https://github.com/llvm/llvm-project/commit/ab8b037ef7b398aa864959a69f328fa69b567f74)) to emit unused-variable warnings for unused libc++ containers and strings, which fail the build under `-Werror` in google3 once `_LIBCPP_DISABLE_UNUSED_STRUCT_WARNINGS` is removed (b/543446945). Removes unused side-effect-free declarations, annotates side-effecting or macro-bound declarations with `[[maybe_unused]]`, and fixes 2 related `-Wunused-{result,but-set-variable}` sites across 399 files in 88 google3-SoT `//third_party` packages (plus 9 Google-only wrapper/test files outside Copybara consistency) uncovered by TAP Train and isolated TGPs #1, #2 (`OCL:1026661282:BASE:1027422407:1795329747713:c5e683c0`), and #3 (`OCL:1026661282:BASE:1027665857:1795375410077:2ed77d8f`). Upstream-SoT `//third_party` packages were split out into unmailed reference CL cl/1033941958 (116 files) with matching `BUILD`/`.bzl` warning suppressions in cl/1033952168; 6 first-party files under `*/third_party/*` subdirectories were split out into cl/1033973972 so `manage_cl` accepts this CL as pure `//third_party/...`. * * * <details> <summary>AI-generation audit log</summary> | CL attribute | Audit log | | :--- | :--- | | Model* | Gemini | | CL diff | AI-generated with 5 iterations | | Key human prompts (verbatim, limited to 5 total) | 1. **Decision:** Keep google3-SoT `//third_party` fixes in cl/1027439455 and split upstream-SoT files into cl/1033941958 and BUILD/`.bzl` suppressions in cl/1033952168. | : : - "split the third party CL as follows\: - keep third-party code that is likely to take changes in google3 in cl/1027439455 - Create a separate CL with the code fixes for which SoT is likely upstream (not for mailing out for review) - For this separate CL, create another CL that suppresses warnings in BUILD / bzl files for unused variables instead of making the code changes." : : : 2. **Decision\:** Queue cl/1027439455 into Rosie pool `manage_cl\:1007350787` (required moving 6 non-`//third_party/...` files out into cl/1033973972). : : : - "Start a manage-cl on cl/1027439455 and add it to the pool at http\://automated-changes/pool/manage_cl\:1007350787" : | CL description | AI-generated using http://depot/configs/users/ninachen/_agents/skills/cl-descriptions/SKILL.md | | Description contains why | ✅ yes | | "Why" provided by | AI | | AI inferred "why" from | b/543446945 and go/libcxx-unused-struct-lsc | *Warning: Model name could be hallucinated. Seems accurate most of the time but not 100%.* </details> Tested: TAP --sample ran all affected tests and none failed http://test/OCL:1033975767:BASE:1033814456:1796173302017:96f60d94 PiperOrigin-RevId: 1034922370
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.
QUICHE has binaries that can run on Linux platforms.
Follow the instructions to install Bazel.
sudo apt install libicu-dev clang lld cd <directory that will be the root of your quiche implmentation> git clone https://github.com/google/quiche.git cd quiche CC=clang bazel build -c opt //... ./bazel-bin/quiche/<target_name> <arguments>
There are several targets that can be built and then run. Full usage instructions are available using the --helpfull flag on any binary.
Usage: quic_packet_printer server|client <hex dump of packet>
Usage: crypto_message_printer_bin <hex of message>
Usage: quic_client <URL>
quic_server: listens forever on --port (default 6121) until halted via ctrl-c.
masque_client: tunnels to a URL via an identified proxy (See RFC 9298).
Usage: masque_client [options] <proxy-url> <urls>
Usage: masque_server
web_transport_test_server: a server that clients can connect to via WebTransport.
moqt_relay: a relay for the Media Over QUIC transport for publishers and subscribers can connect to.
Usage: moqt_relay
Most log messages in QUICHE use the QUICHE_DLOG macro. In standalone quiche, these all either go to stderr, or are suppressed, based on the --stderrthreshold flag.
To send INFO level log messages to a file, you would therefore invoke
<binary> <args> > <logfile> 2>&1
Use the --helpfull flag for more.