Repository navigation
Conversation
To make these tests excluded early if nghttps is not present, or does not support HTTP/3. Before this patch, the tests were run, but failed to start, adding log noise. Silencing: ``` Warning: http3-server.pl unknown parameter: '' Warning: http3-server.pl unknown parameter: '' [...] RUN: failed to start the HTTP/3 server test 2501 SKIPPED: failed starting HTTP/3 server [...] RUN: failed to start the HTTP/3 server test 2502 SKIPPED: failed starting HTTP/3 server ``` https://github.com/curl/curl/actions/runs/39625191772/job/119308529929#step:16:3862 (msvc, CM x64-windows openssl +examples) Follow-up to 71b7e01 curl#10141 Cherry-picked from curl#23543
vszakats
added a commit
that referenced
this pull request
Oct 22, 2026
- warn and bail out early if `NGHTTPX` env is empty when launching H2/H3 test servers. It can happen if a test requests these via its `server` section, yet missing the corresponding `features` keyword. Follow-up to 2597df9 #23559 - log a warning with details when the PID file is missing while trying to delete it. Replacing the Perl warning seen before this patch: ``` Use of uninitialized value $pidfile in -f at D:/a/curl/curl/tests/servers.pm line 472. ``` Ref: https://github.com/curl/curl/actions/runs/39695904768/job/119553125031?pr=23543#step:16:4394 - always quote the port argument. To avoid wrong command-line in the unlikely event of IO::Socket->sockport() returning an undef value. Ref: https://metacpan.org/release/TODDR/IO-1.55/source/lib/IO/Socket/INET.pm#L277 - drop `$aflags` interim variables. Closes #23543
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To make these tests excluded early if nghttpx is not present, or does
not support HTTP/3 (while testing curl with HTTP/3 built-in). Before
this patch, the tests were run, failed to start, adding log noise.
Silencing:
https://github.com/curl/curl/actions/runs/39625191772/job/119308529929#step:16:3862
(msvc, CM x64-windows openssl +examples)
Follow-up to 71b7e01 #10141
Cherry-picked from #23543