mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:03:39 +03:00
tests: fix h3 server check and parallel instances
- fix check for availability of nghttpx server - add `tcp` frontend config for same port as quic, as without this, port 3000 is bound which clashes for parallel testing Closes #11553
This commit is contained in:
parent
f4ff8072f2
commit
bb07240263
2 changed files with 3 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ my $logdir = "log";
|
|||
my $pidfile = "$logdir/nghttpx.pid";
|
||||
my $logfile = "$logdir/http3.log";
|
||||
my $nghttpx = "nghttpx";
|
||||
my $listenport = 9015;
|
||||
my $listenport = 9017;
|
||||
my $connect = "127.0.0.1,8990";
|
||||
my $cert = "Server-localhost-sv";
|
||||
my $conf = "nghttpx.conf";
|
||||
|
|
@ -108,6 +108,7 @@ $certfile = abs_path($certfile);
|
|||
$keyfile = abs_path($keyfile);
|
||||
|
||||
my $cmdline="$nghttpx --http2-proxy --backend=$connect ".
|
||||
"--frontend=\"*,$listenport\" ".
|
||||
"--frontend=\"*,$listenport;quic\" ".
|
||||
"--log-level=INFO ".
|
||||
"--pid-file=$pidfile ".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue