]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: also tear down http2/http3 servers when https server is stopped
authorStefan Eissing <stefan@eissing.org>
Mon, 19 Dec 2022 16:17:54 +0000 (17:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 Dec 2022 07:56:53 +0000 (08:56 +0100)
Closes #10114

tests/runtests.pl

index 03353df4900e2497439a049f3550f852ec3275fc..274911f47111feea9c04b1e9c09a0a499b68ce9d 100755 (executable)
@@ -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;
     }