mirror of
https://github.com/curl/curl.git
synced 2026-01-26 15:03:21 +00:00
servers.pm: say the protocol when http server failed to start
To serve as possibly more signal to see when/why the http server fails to start in some random cases (on Windows). Seen it happen in the 'mingw, CM clang-x86_64 gnutls libss' CI job: https://github.com/curl/curl/pull/20163#issuecomment-3705572750 https://github.com/curl/curl/pull/20163#issuecomment-3707231458 Closes #20176
This commit is contained in:
parent
68b94daeb8
commit
b374a8f07f
@ -2485,7 +2485,7 @@ sub startservers {
|
||||
($serr, $pid, $pid2, $PORT{'http'}) =
|
||||
runhttpserver("http", $verbose, 0);
|
||||
if($pid <= 0) {
|
||||
return ("failed starting HTTP server", $serr);
|
||||
return ("failed starting HTTP server (for http)", $serr);
|
||||
}
|
||||
logmsg sprintf ("* pid http => %d %d\n", $pid, $pid2)
|
||||
if($verbose);
|
||||
@ -2642,7 +2642,7 @@ sub startservers {
|
||||
($serr, $pid, $pid2, $PORT{'http'}) =
|
||||
runhttpserver("http", $verbose, 0);
|
||||
if($pid <= 0) {
|
||||
return ("failed starting HTTP server", $serr);
|
||||
return ("failed starting HTTP server (for https/https-mtls)", $serr);
|
||||
}
|
||||
logmsg sprintf("* pid http => %d %d\n", $pid, $pid2) if($verbose);
|
||||
$run{'http'}="$pid $pid2";
|
||||
@ -2683,7 +2683,7 @@ sub startservers {
|
||||
($serr, $pid, $pid2, $PORT{'http'}) =
|
||||
runhttpserver("http", $verbose, 0);
|
||||
if($pid <= 0) {
|
||||
return ("failed starting HTTP server", $serr);
|
||||
return ("failed starting HTTP server (for http/2)", $serr);
|
||||
}
|
||||
logmsg sprintf("* pid http => %d %d\n", $pid, $pid2) if($verbose);
|
||||
$run{'http'}="$pid $pid2";
|
||||
@ -2724,7 +2724,7 @@ sub startservers {
|
||||
($serr, $pid, $pid2, $PORT{'http'}) =
|
||||
runhttpserver("http", $verbose, 0);
|
||||
if($pid <= 0) {
|
||||
return ("failed starting HTTP server", $serr);
|
||||
return ("failed starting HTTP server (for http/3)", $serr);
|
||||
}
|
||||
logmsg sprintf("* pid http => %d %d\n", $pid, $pid2) if($verbose);
|
||||
$run{'http'}="$pid $pid2";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user