From 6c1879abb69e64927075d19f19f6af50b2b2e6a8 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 9 Jul 2025 21:41:16 +0200 Subject: [PATCH] enable strict where missing cleanup --- tests/http2-server.pl | 6 +++--- tests/http3-server.pl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/http2-server.pl b/tests/http2-server.pl index a537905dfb..553f1e922d 100755 --- a/tests/http2-server.pl +++ b/tests/http2-server.pl @@ -23,6 +23,9 @@ # #*************************************************************************** +use strict; +use warnings 'FATAL' => 'all'; + # This script invokes nghttpx properly to have it serve HTTP/2 for us. # nghttpx runs as a proxy in front of our "actual" HTTP/1 server. use Cwd; @@ -30,9 +33,6 @@ use Cwd 'abs_path'; use File::Basename; use File::Spec; -use strict; -use warnings 'FATAL' => 'all'; - my $logdir = "log"; my $pidfile = "$logdir/nghttpx.pid"; my $logfile = "$logdir/http2.log"; diff --git a/tests/http3-server.pl b/tests/http3-server.pl index 066680fc06..611d07a88c 100755 --- a/tests/http3-server.pl +++ b/tests/http3-server.pl @@ -23,6 +23,9 @@ # #*************************************************************************** +use strict; +use warnings 'FATAL' => 'all'; + # This script invokes nghttpx properly to have it serve HTTP/3 for us. # nghttpx runs as a proxy in front of our "actual" HTTP/1 server. @@ -31,9 +34,6 @@ use Cwd 'abs_path'; use File::Basename; use File::Spec; -use strict; -use warnings 'FATAL' => 'all'; - my $logdir = "log"; my $pidfile = "$logdir/nghttpx.pid"; my $logfile = "$logdir/http3.log";