]> git.ipfire.org Git - thirdparty/curl.git/commit
tests: add HTTP/3 test case, custom location for proper nghttpx
authorStefan Eissing <stefan@eissing.org>
Tue, 29 Nov 2022 15:41:15 +0000 (16:41 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Nov 2022 12:56:06 +0000 (13:56 +0100)
commitca15b7512e8d1199e55fbaa206ef01e64b8f147d
treea503879b58a3130ed7d40af7ece475cfa111000c
parent0186ec41b1131e3b50dc51de40fa5137518a0c3f
tests: add HTTP/3 test case, custom location for proper nghttpx

- adding support for HTTP/3 test cases via a nghttpx server that is
  build with ngtcp2 and nghttp3.
- test2500 is the first test case, performing a simple GET.
- nghttpx is checked for support and the 'feature' nghttpx-h3
  is set accordingly. test2500 will only run, when supported.
- a specific nghttpx location can be given in the environment
  variable NGHTTPX or via the configure option
    --with-test-nghttpx=<path>

Extend NGHTTPX config to H2 tests as well

* use $ENV{NGHTTPX} and the configured default also in http2 server starts
* always provide the empty test/nghttpx.conf to nghttpx. as it defaults to
  reading /etc/nghttpx/nghttpx.conf otherwise.

Added nghttpx to CI ngtcp2 jobs to run h3 tests.

Closes #9031
16 files changed:
.github/workflows/ngtcp2-gnutls.yml
.github/workflows/ngtcp2-quictls.yml [new file with mode: 0644]
.github/workflows/ngtcp2-wolfssl.yml
.gitignore
configure.ac
tests/.gitignore
tests/README.md
tests/config.in [new file with mode: 0644]
tests/data/Makefile.inc
tests/data/test2500 [new file with mode: 0644]
tests/getpart.pm
tests/http2-server.pl
tests/http3-server.pl [new file with mode: 0644]
tests/nghttpx.conf [new file with mode: 0644]
tests/runtests.pl
tests/serverhelp.pm