Skip to content

Use OpenSSL 3.5 for HTTP/3 QUIC - #390

Merged
bneradt merged 1 commit into
yahoo:masterfrom
bneradt:openssl-35-quic
Aug 8, 2026
Merged

bneradt merged 1 commit into
yahoo:masterfrom
bneradt:openssl-35-quic

Conversation

@bneradt

@bneradt bneradt commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Replace the ngtcp2 transport with OpenSSL's native QUIC API while
retaining nghttp3 for HTTP/3 framing and nghttp2 for HTTP/2.

Require OpenSSL 3.5+, update dependency discovery and builds, and
document the system/prebuilt layouts and qlog limitation. Validate H3
on macOS and Fedora 44 with system and source-built dependencies.

Copilot AI lite review requested due to automatic review settings August 7, 2026 22:14
@bneradt bneradt self-assigned this Aug 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates Proxy Verifier’s HTTP/3 implementation from ngtcp2 to OpenSSL 3.5+ native QUIC, while keeping nghttp3 (HTTP/3 framing/QPACK) and nghttp2 (HTTP/2 framing). It also updates dependency bootstrapping/discovery and documents the new dependency layout and qlog limitation.

Changes:

  • Replace ngtcp2-based QUIC transport with OpenSSL 3.5 native QUIC in the HTTP/3 session implementation.
  • Update build/dependency tooling to build and/or discover OpenSSL 3.5+, nghttp3, and nghttp2 (dropping ngtcp2).
  • Update documentation and CMake dependency resolution to support mixed “PV_DEPS_ROOT or system” layouts and clarify qlog behavior.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/build-library-dependencies.sh Updates dependency build script to build OpenSSL 3.5.6 + nghttp2/nghttp3 and remove ngtcp2.
src/core/http3.h Refactors HTTP/3 types to model OpenSSL QUIC connection/streams and updates interfaces/comments accordingly.
src/core/http3.cc Reimplements HTTP/3 over OpenSSL QUIC, replaces ngtcp2 packet I/O, and updates session/stream handling logic.
README.md Documents OpenSSL QUIC requirement, dependency install options, and qlog limitation with OpenSSL QUIC.
CMakeLists.txt Updates dependency root help text and deprecates PV_NGTCP2_ROOT.
cmake/HttpDependencies.cmake Updates dependency discovery/bootstrap logic for OpenSSL 3.5+ + nghttp2/nghttp3, with optional system resolution.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/core/http3.cc Resolved
Comment thread src/core/http3.cc Resolved
Comment thread src/core/http3.cc Resolved
@bneradt
bneradt force-pushed the openssl-35-quic branch 2 times, most recently from 648e21a to d4639da Compare August 8, 2026 00:18
Replace the ngtcp2 transport with OpenSSL's native QUIC API while
retaining nghttp3 for HTTP/3 framing and nghttp2 for HTTP/2.

Require OpenSSL 3.5+, update dependency discovery and builds, and
document the system/prebuilt layouts and qlog limitation. Validate H3
on macOS and Fedora 44 with system and source-built dependencies.

Build Docker dependencies from the checked-out pinned script and add a
smaller dev-external target that copies /opt/pv_libs from its builder.
@bneradt
bneradt merged commit f4562e9 into yahoo:master Aug 8, 2026
@bneradt
bneradt deleted the openssl-35-quic branch August 8, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants