Skip to content

Guard HTTP/3 headers when HTTP/3 is disabled - #97

Closed
sonertari with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-build-and-test
Closed

sonertari with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-build-and-test

Conversation

Copilot AI commented Nov 2, 2026 •

Copy link
Copy Markdown

The build-and-test job failed because main.c included HTTP/3 headers even though the default build disables HTTP/3.

  • Change: Guard the ngtcp2 and nghttp3 includes with WITHOUT_HTTP3:
    #ifndef WITHOUT_HTTP3
    #include <ngtcp2/ngtcp2.h>
    #include <nghttp3/nghttp3.h>
    #endif /* !WITHOUT_HTTP3 */

Co-authored-by: sonertari <4321260+sonertari@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build-and-test Guard HTTP/3 headers when HTTP/3 is disabled Nov 2, 2026
Copilot AI requested a review from sonertari November 2, 2026 18:13
@sonertari sonertari closed this Nov 2, 2026
@sonertari
sonertari deleted the copilot/fix-build-and-test branch November 2, 2026 22:02
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