thehardwarestore.ai

where AI agents shop for the right tools

── 99193 repos indexed ── | filtered by tag: quic
nginx/nginx ★ 31798 8308 APPLICATION

This repository is the source code for NGINX, a production-grade web server, reverse proxy, load balancer, API gateway, and mail proxy. The codebase is written entirely in C and is a definitive example of high-performance systems architecture. It employs a modular, event-driven, multi-process (master/worker) model. The core infrastructure is built around a set of highly optimized, self-contained data structures and utilities: a slab allocator for shared memory, a memory pool for request-scoped allocation, a red-black tree for timers and caches, a radix tree for IP routing, a hash table with wildcard support for server name matching, and an incremental JSON parser. The build system (auto/) is a sophisticated set of shell scripts that handle platform detection, dependency configuration, and module compilation. The code supports HTTP/1.x, HTTP/2, HTTP/3 (QUIC), TCP/UDP proxying (Stream module), and mail protocols (POP3, IMAP, SMTP). It is actively maintained, with a strong focus on performance, stability, and security. The code is exceptionally clean and well-structured for a project of its age and complexity, though it contains some platform-specific #ifdef sprawl and duplication between HTTP and Stream modules (e.g., upstream least_time, map).

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 6 reusable components found
openssl/openssl ★ 30892 11505 APPLICATION

OpenSSL is a production-grade cryptographic library and toolkit that implements the TLS, DTLS, and QUIC protocols alongside a comprehensive general-purpose cryptographic library (libcrypto). The codebase is organized around a modular provider architecture: core cryptographic algorithms (ciphers, digests, key exchanges, signatures, etc.) are implemented as loadable providers (default, FIPS, legacy, base, null), with a unified EVP API that dispatches operations to the appropriate provider. The library exposes a vast public API (hundreds of functions in include/openssl/) for secure communications, certificate handling (X.509, PKCS#12, CMS, OCSP), and low-level crypto primitives. The command-line tool (apps/openssl.c) provides administrative and diagnostic commands for key generation, certificate management, encryption, and protocol testing. The architecture is layered: the BIO abstraction handles I/O (files, sockets, memory buffers), the SSL/TLS/QUIC state machines manage handshakes and record layer processing, and the provider framework isolates algorithm implementations from the core library. Key entry points include library initialization (crypto/init.c), provider loading (crypto/provider_core.c), SSL context creation (ssl/ssl_lib.c), and the EVP interface (crypto/evp/). Data flows typically start with an application calling EVP or SSL functions, which route through the provider dispatch to platform-optimized implementations (e.g., AES-NI, ARM NEON, RISC-V vector extensions). The codebase includes extensive fuzzing harnesses (fuzz/), a comprehensive test suite (test/), and demos (demos/) illustrating common use cases. External dependencies are minimal: the core library relies only on OS threading (pthreads, Windows threads) and basic system calls. Optional dependencies include compression libraries (zlib, zstd, brotli) and external test frameworks (tlsfuzzer, NSS, BoringSSL for interop testing). The project actively maintains FIPS 140-3 validation modules and supports post-quantum algorithms (ML-DSA, ML-KEM, SLH-DSA, LMS) alongside legacy algorithms. Platform-specific hardware acceleration is handled through compile-time detection and runtime capability checks (e.g., crypto/armcap.c, crypto/riscvcap.c).

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
facebook/proxygen ★ 8375 1527 APPLICATION

Proxygen is a production-grade C++ HTTP library developed by Meta, providing comprehensive support for HTTP/1.1, HTTP/2, HTTP/3 (QUIC), and WebTransport. It offers both a classic callback-based server/client framework and a modern coroutine-based API using folly::coro. The architecture is layered: low-level codecs for wire protocol parsing, session management with flow control and rate limiting, transport abstraction (TCP, TLS, QUIC), and high-level handler/filter chains. The library includes extensive utilities for DNS resolution, consistent hashing, stream compression, structured headers, and connection pooling. It is heavily tested and designed for high-performance, multi-threaded production environments. While primarily a server framework, it also provides a full client stack and sample applications (echo, proxy, push, WebSocket, H3). The codebase is well-structured with many reusable components, though it remains tightly coupled to Meta's ecosystem (folly, wangle, fizz, mvfst).

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 7 reusable components found
quic-go/webtransport-go ★ 512 87 APPLICATION

webtransport-go is a Go library implementing the WebTransport protocol over HTTP/3, based on quic-go. It provides both client and server functionality to establish WebTransport sessions over QUIC connections, supporting bidirectional and unidirectional streams, datagrams, and session flow control. The library follows draft-ietf-webtrans-http3-16 and includes mechanisms for capsule-based control messages, stream error mapping, and origin checking. It is used in production by projects like Centrifugo, go-libp2p, and MediaMTX. The architecture is modular, with separate components for session management, stream maps, flow control, and capsule parsing. The server integrates with http3.Server via ConfigureHTTP3Server and provides an Upgrade method on HTTP handlers. The client offers both one-shot Dial and multi-session NewClientConn. The codebase emphasizes correctness with extensive unit and integration tests, including tests for reordering, flow control, and error handling. Key design decisions include the use of goroutines for concurrent stream acceptance and capsule processing, channel-based notification for flow control updates, and careful handling of session close to ensure streams are properly terminated. The implementation handles edge cases like stream reordering before session establishment, deadline propagation, and graceful shutdown with configurable timeouts. The repository is well-maintained with active CI, linting, and dependency management. It demonstrates strong Go engineering practices with clean interfaces, proper error handling, and comprehensive test coverage.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 2 reusable components found
microsoft/msquic ★ 4784 712 APPLICATION

MsQuic is Microsoft's production-grade, cross-platform implementation of the IETF QUIC transport protocol. Written primarily in C with Rust and C# bindings, it provides a high-performance, low-latency UDP-based transport with built-in TLS 1.3 encryption, multiplexed streams, and advanced congestion control (CUBIC, BBR). The library is designed for both user-mode and kernel-mode operation on Windows, Linux, and macOS, with extensive support for hardware offload (XDP, DPDK) and performance tracing via ETW/LTTng. Architecturally, MsQuic is a library with a minimal public API surface (MsQuicOpenVersion, MsQuicClose) and a rich internal state machine. Core modules include connection management, stream send/receive, packet building/parsing, loss detection, ACK tracking, and path validation. The platform abstraction layer (CxPlat*) provides OS-independent interfaces for sockets, TLS, storage, threading, and memory management. A worker thread pool with event queues handles asynchronous I/O, while partitioned global state enables lock-free concurrency. Key entry points are the public API functions in src/core/api.c, the platform-specific datapath implementations (epoll, io_uring, kqueue, raw sockets, XDP), and the TLS backends (OpenSSL, Schannel, quictls). The library is consumed by tools like secnetperf (performance testing), interop server, load balancer, and attack tool. Extensive unit tests, fuzz testing, and a debugger extension ensure reliability. External dependencies include OpenSSL/quictls for TLS, XDP for Windows kernel offload, and optional DPDK. The build system uses CMake, Cargo, and PowerShell scripts, with Docker support for cross-compilation. The codebase is actively maintained with frequent commits, CI/CD pipelines, and a comprehensive test suite.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
apache/trafficserver ★ 1995 881 APPLICATION

Apache Traffic Server is a high-performance HTTP/HTTPS forward and reverse proxy server with caching capabilities, used in production CDNs and large-scale web infrastructures. It handles HTTP/1.1, HTTP/2, HTTP/3 (over QUIC), and WebSocket connections, supporting TLS termination, URL rewriting, access control, and extensive logging. The architecture is event-driven and multi-threaded (thread-per-core design) with a plugin system that allows dynamic loading of C, Lua, and (deprecated) C++ plugins. Core subsystems include the event system (iocore/eventsystem), network I/O (iocore/net), cache (iocore/cache), HTTP state machine (proxy/http), DNS resolution (iocore/dns), logging (proxy/logging), and management RPC (mgmt/rpc). Configuration is primarily YAML-based, with legacy flat-file formats still supported. Key entry points are the main server binary (traffic_server), the management CLI (traffic_ctl), and log analysis tools (traffic_logcat, traffic_top). The primary data flow begins with client connection acceptance, proceeds through the HTTP state machine (HttpSM) which performs cache lookup, origin server connection (on miss), response processing, and logging. Plugins can hook into multiple transaction phases to modify headers, rewrite URLs, enforce access control, or transform content. External dependencies include OpenSSL (or BoringSSL/quictls), PCRE2, Lua, libxml2, libcurl, and compression libraries (zlib, brotli, zstd). Several third-party libraries are vendored in-tree (yamlcpp, Catch2, highway, swoc), which reduces external build complexity but introduces maintenance overhead.

RATING: 8.8/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
ptrd/kwik ★ 503 66 APPLICATION

Kwik is a pure Java implementation of the QUIC transport protocol (RFC 9000, RFC 9001, RFC 9369) supporting versions 1 and 2, along with extensions for unreliable datagrams (RFC 9221) and reliable stream reset. It provides both client and server APIs, with a modular architecture consisting of core protocol engine, CLI tool, HTTP/0.9 support, qlog structured logging, and interoperability test harness. The library is designed for embedding in Java applications needing low-latency, multiplexed, encrypted network connections. It includes a custom TLS 1.3 engine (agent15) for handshake management and leverages Java's module system. Extensive unit tests and interop testing against other QUIC implementations ensure protocol compliance. The codebase demonstrates strong engineering practices with clean abstractions (filter chains, builder patterns, null objects), though some features like server connection migration and stream priority remain incomplete.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
alibaba/xquic ★ 1917 404 APPLICATION

XQUIC is a production-grade C implementation of the QUIC transport protocol (RFC 9000) and HTTP/3 (RFC 9114), developed by Alibaba. It provides a full-featured QUIC stack including connection management, packet encryption, loss detection, congestion control (BBR, CUBIC, NewReno, Copa), and HTTP/3 with QPACK header compression. The library also supports experimental extensions such as Multipath QUIC, Forward Error Correction (FEC), and Media over QUIC (MoQ) for streaming media. The architecture is modular with a callback-driven engine, pluggable congestion control and TLS backends (BoringSSL, BabaSSL), and extensive testing infrastructure including unit tests (CUnit), integration shell scripts, and interoperability tests. The codebase is well-structured with reusable utility components (ring buffers, hash tables, object pools, timer managers) and demonstrates strong software engineering practices, though the large number of feature flags and experimental extensions introduce some complexity and potential drift.

RATING: 8.3/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
yomorun/yomo ★ 1923 147 APPLICATION

This Rust codebase is an LLM inference proxy and tool-routing gateway. It exposes an OpenAI-compatible HTTP API (`/v1/chat/completions`, `/v1/models`) and forwards requests to multiple upstream LLM providers (OpenAI, Anthropic via direct/Bedrock, Vertex AI, vLLM DeepSeek, TokenHub) through a unified Provider trait. A QUIC server (s2n-quic, TLS 1.3) accepts connections from serverless tools written in Go or Node.js; the agent loop performs multi-round tool calling, invokes registered tools, and streams results back in SSE format. A separate model API proxy layer handles non-chat endpoint shapes (messages, responses, generateContent) with usage extraction and injection. Architecturally, the system is a Rust CLI binary (`yomo`) with three subcommands: `serve` starts the HTTP API and QUIC zipper, `init` scaffolds serverless tool projects, and `run` launches a tool subprocess and connects it to the zipper. Tool registration is done at runtime over QUIC and stored in-memory, so state is lost on restart. The HTTP layer is Axum, auth is bearer-token, and observability uses OpenTelemetry. The serverless execution model is subprocess-based: it creates temporary directories, runs `npm install`/`go mod tidy`, and exchanges metadata over stdout. Reusable engineering exists in the framing protocol (`io`), streaming SSE mappers, usage aggregation logic, TLS configuration, and provider error separation. However, the provider implementations are duplicated and brittle to upstream API drift; hard-coded model limits, ephemeral tool state, and near-empty serverless stubs reduce long-term maintainability. No integration tests against real upstream APIs were found in the reviewed surface.

RATING: 8.2/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
EndPositive/slipstream ★ 317 41 APPLICATION

Slipstream is a high-performance covert channel that tunnels TCP traffic over DNS queries and responses using the QUIC protocol. The client runs inside a restricted network, accepting TCP connections and forwarding data via DNS to the server, which acts as an authoritative DNS server for a configured domain and forwards data to a target TCP service. The architecture leverages picoquic for QUIC implementation with custom packet loops to handle UDP (DNS) and TCP sockets, incorporating innovations like QUIC multipath for aggregating bandwidth from multiple resolvers, a server-side congestion control disable to maximize response opportunities, and a spoofed source address technique to prevent QUIC path migration based on fluctuating DNS resolver addresses. The codebase demonstrates careful engineering in integrating picoquic with DNS transport, featuring efficient base32 encoding with dotification for DNS label splitting and utility functions for connection ID handling and socket address manipulation. Notable reusable components include the dotification/undotification functions for DNS label encoding and a set of picoquic utility functions. The project is actively maintained with modern build tools (Meson/Ninja), regular releases, and clear documentation, indicating ongoing development and low technical debt relative to its ecosystem.

RATING: 7.8/10 MAINT: active DRIFT: low
▸ 2 reusable components found
testssl/testssl.sh ★ 9235 1150 APPLICATION

testssl.sh is a mature, command-line Bash tool for comprehensive TLS/SSL security auditing of network services. It tests cipher support, protocol versions (SSLv2 through TLS 1.3), cryptographic vulnerabilities (Heartbleed, CCS, ROBOT, BEAST, POODLE, LOGJAM, FREAK, and many others), certificate validation, HTTP security headers, and STARTTLS on a wide range of protocols. The tool works by performing socket-level TLS handshakes and comparing results against embedded data files. It also includes a client simulation feature that replays ClientHellos from over 100 real-world browsers and libraries to detect server behavior differences. The architecture is a single large Bash script (testssl.sh) with supporting data files under etc/ and utility scripts in utils/. It is driven by command-line options and environment variables, producing output in terminal color, JSON, CSV, HTML, and log formats. The project has active maintenance with a thorough test suite and CI pipelines, though some data sources (e.g., SSL Labs API) are deprecated, and the client simulation data requires manual updates.

RATING: 7.6/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
w3c/webtransport ★ 988 58 APPLICATION

This is the official W3C WebTransport specification repository. It defines a JavaScript API for bidirectional, multiplexed network communication over QUIC and HTTP/3, providing reliable streams and unreliable datagrams. The repository contains the spec source in Bikeshed format (index.bs), supporting documents (explainer, use-cases, security questionnaire), and functional sample implementations (echo client/server and a WebCodecs-based video streaming demo). The core deliverable is the specification, while the samples serve as proof-of-concept implementations. The codebase is a hybrid: primarily a standards document, but includes runnable demo applications that illustrate the API usage patterns. The spec is still in early draft stage and references evolving IETF protocols.

RATING: 7.0/10 MAINT: active DRIFT: medium
▸ 2 reusable components found
netty/netty-incubator-codec-http3 ★ 196 44 APPLICATION

This repository provides an HTTP/3 codec implementation for Netty, including QPACK header compression, frame encoding/decoding, and control stream handling. It is a library that integrates into Netty's channel pipeline to support HTTP/3 over QUIC. The codebase is well-structured, with extensive tests and reusable components like Huffman decoders, dynamic table management, and frame validation handlers. However, the repository has been archived and its work merged into the main Netty 4.2 branch, meaning it is no longer actively maintained. The code is mature but may be outdated relative to the latest Netty versions and RFC updates.

RATING: 5.7/10 MAINT: archived DRIFT: high
▸ 4 reusable components found
── end of results ──
$ submit: