hyper: drop support

lib : remove all hyper code
configure: stop detecting hyper
docs: no more mention of hyper
tests: mo more special-handling of hyper builds
CI: no jobs using hyper

Closes #15120
This commit is contained in:
Daniel Stenberg 2024-12-21 11:33:05 +01:00
parent 46093d9e0e
commit fc3e1cbc50
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
93 changed files with 118 additions and 2546 deletions

View file

@ -591,11 +591,8 @@ sub checksystemfeatures {
$feature{"c-ares"} = 1;
$resolver="c-ares";
}
if ($libcurl =~ /Hyper/i) {
$feature{"hyper"} = 1;
}
if ($libcurl =~ /nghttp2/i) {
# nghttp2 supports h2c, hyper does not
# nghttp2 supports h2c
$feature{"h2c"} = 1;
}
if ($libcurl =~ /AppleIDN/) {
@ -1286,9 +1283,7 @@ sub singletest_check {
chomp($validstdout[-1]);
}
if($hash{'crlf'} ||
($feature{"hyper"} && ($keywords{"HTTP"}
|| $keywords{"HTTPS"}))) {
if($hash{'crlf'}) {
subnewlines(0, \$_) for @validstdout;
}
@ -1326,12 +1321,6 @@ sub singletest_check {
# get the mode attribute
my $filemode=$hash{'mode'};
if($filemode && ($filemode eq "text") && $feature{"hyper"}) {
# text mode check in hyper-mode. Sometimes necessary if the stderr
# data *looks* like HTTP and thus has gotten CRLF newlines
# mistakenly
normalize_text(\@validstderr);
}
if($filemode && ($filemode eq "text")) {
normalize_text(\@validstderr);
normalize_text(\@actual);
@ -1434,9 +1423,7 @@ sub singletest_check {
# of the datacheck
chomp($replycheckpart[-1]);
}
if($replycheckpartattr{'crlf'} ||
($feature{"hyper"} && ($keywords{"HTTP"}
|| $keywords{"HTTPS"}))) {
if($replycheckpartattr{'crlf'}) {
subnewlines(0, \$_) for @replycheckpart;
}
push(@reply, @replycheckpart);
@ -1457,9 +1444,7 @@ sub singletest_check {
if($filemode && ($filemode eq "text")) {
normalize_text(\@reply);
}
if($replyattr{'crlf'} ||
($feature{"hyper"} && ($keywords{"HTTP"}
|| $keywords{"HTTPS"}))) {
if($replyattr{'crlf'}) {
subnewlines(0, \$_) for @reply;
}
}
@ -1552,8 +1537,7 @@ sub singletest_check {
}
}
if($hash{'crlf'} ||
($feature{"hyper"} && ($keywords{"HTTP"} || $keywords{"HTTPS"}))) {
if($hash{'crlf'}) {
subnewlines(0, \$_) for @proxyprot;
}
@ -1611,9 +1595,7 @@ sub singletest_check {
normalize_text(\@outfile);
normalize_text(\@generated);
}
if($hash{'crlf'} ||
($feature{"hyper"} && ($keywords{"HTTP"}
|| $keywords{"HTTPS"}))) {
if($hash{'crlf'}) {
subnewlines(0, \$_) for @outfile;
}