mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:41:41 +03:00
tests: fix perl warnings in http2-server, http3-server
AM libressl heimdal:
```
Global symbol "$verbose" requires explicit package name (did you forget to declare "my $verbose"?) at tests/http2-server.pl line 52.
Global symbol "$certfile" requires explicit package name (did you forget to declare "my $certfile"?) at tests/http2-server.pl line 109.
Global symbol "$keyfile" requires explicit package name (did you forget to declare "my $keyfile"?) at tests/http2-server.pl line 110.
Execution of tests/http2-server.pl aborted due to compilation errors.
[...]
```
Ref: https://github.com/curl/curl/actions/runs/16622030370/job/47028537336?pr=18099#step:39:3148
Follow-up to 2ec54556d4 #17877
Closes #18100
This commit is contained in:
parent
801800aca2
commit
1140c8bc04
2 changed files with 6 additions and 4 deletions
|
|
@ -33,6 +33,7 @@ use Cwd 'abs_path';
|
|||
use File::Basename;
|
||||
use File::Spec;
|
||||
|
||||
my $verbose = 0; # set to 1 for debugging
|
||||
my $logdir = "log";
|
||||
my $pidfile = "$logdir/nghttpx.pid";
|
||||
my $logfile = "$logdir/http2.log";
|
||||
|
|
@ -106,8 +107,8 @@ while(@ARGV) {
|
|||
shift @ARGV;
|
||||
}
|
||||
|
||||
$certfile = abs_path("certs/$cert.pem");
|
||||
$keyfile = abs_path("certs/$cert.key");
|
||||
my $certfile = abs_path("certs/$cert.pem");
|
||||
my $keyfile = abs_path("certs/$cert.key");
|
||||
|
||||
my $cmdline="$nghttpx --backend=$connect ".
|
||||
"--backend-keep-alive-timeout=500ms ".
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ use Cwd 'abs_path';
|
|||
use File::Basename;
|
||||
use File::Spec;
|
||||
|
||||
my $verbose = 0; # set to 1 for debugging
|
||||
my $logdir = "log";
|
||||
my $pidfile = "$logdir/nghttpx.pid";
|
||||
my $logfile = "$logdir/http3.log";
|
||||
|
|
@ -106,8 +107,8 @@ while(@ARGV) {
|
|||
shift @ARGV;
|
||||
}
|
||||
|
||||
$certfile = abs_path("certs/$cert.pem");
|
||||
$keyfile = abs_path("certs/$cert.key");
|
||||
my $certfile = abs_path("certs/$cert.pem");
|
||||
my $keyfile = abs_path("certs/$cert.key");
|
||||
|
||||
my $cmdline="$nghttpx --http2-proxy --backend=$connect ".
|
||||
"--backend-keep-alive-timeout=500ms ".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue