Skip to content

quic: fix broken listEndpoints export, test callbacks & nghttp3 include#63874

Open
pimterry wants to merge 1 commit into
nodejs:mainfrom
pimterry:fix-quic-build-issues
Open

quic: fix broken listEndpoints export, test callbacks & nghttp3 include#63874
pimterry wants to merge 1 commit into
nodejs:mainfrom
pimterry:fix-quic-build-issues

Conversation

@pimterry

Copy link
Copy Markdown
Member

The QUIC build & tests are broken on main in multiple ways:

#63860: The recent nghttp3 deps update (#63776) included internal changes which use _Generic (supported for C++ by Clang, but not by gcc). This only affects nghttp3 internals, but we had a dangling unused include which referenced them, so it broke things. We don't need these internals, and if we don't include them the problem goes away.

ListEndpoints (added in #63536) wasn't actually exported, so its tests fail on main. It clearly should be, it's included in the docs etc and used in the tests.

The new onSessionApplication callback (added in #63558) wasn't included in the setCallbacks test, which failed.

This PR drops the unused include, exports listEndpoints, and fixes the setCallbacks test.

It doesn't totally fix all QUIC build issues on main - there's one more, fixed already in #63821. That's an independent ngtcp2 deps issue (mergeable right now if anybody wants to add a 2nd approve there, or in a few days if not).

Independent of fix this, I'm now going to look to set up a CI job that builds & tests with --experimental-quic to stop this happening again. I'll do that in another PR, watch this space.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/quic

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3. labels Jun 12, 2026

@bjohansebas bjohansebas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@Renegade334 Renegade334 linked an issue Jun 12, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ngtcp2 update breaks gcc builds with --experimental-quic

4 participants