From: Stefan Eissing Date: Mon, 19 Dec 2022 16:17:54 +0000 (+0100) Subject: runtests: also tear down http2/http3 servers when https server is stopped X-Git-Tag: curl-7_88_0~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ab601d93a07cee665ec2458a51fccd0767c03f1;p=thirdparty%2Fcurl.git runtests: also tear down http2/http3 servers when https server is stopped Closes #10114 --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 03353df490..274911f471 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -865,7 +865,7 @@ sub stopserver { # given a ssh server, also kill socks piggybacking one push @killservers, "socks${2}"; } - if($server eq "http") { + if($server eq "http" or $server eq "https") { # since the http2+3 server is a proxy that needs to know about the # dynamic http port it too needs to get restarted when the http server # is killed @@ -1581,7 +1581,9 @@ sub runhttp2server { $doesntrun{$pidfile} = 0; if($verbose) { - logmsg "RUN: $srvrname server PID $http2pid port $port\n"; + logmsg "RUN: $srvrname server PID $http2pid ". + "http-port $port https-port $port2 ". + "backend $HOSTIP:$HTTPPORT\n"; } last; }