mirror of
https://github.com/curl/curl.git
synced 2026-06-05 19:14:14 +03:00
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:
parent
46093d9e0e
commit
fc3e1cbc50
93 changed files with 118 additions and 2546 deletions
|
|
@ -450,15 +450,14 @@ class ScoreCard:
|
|||
p['name'] = 'h2'
|
||||
if not self.env.have_h2_curl():
|
||||
raise ScoreCardError('curl does not support HTTP/2')
|
||||
for lib in ['nghttp2', 'hyper']:
|
||||
for lib in ['nghttp2']:
|
||||
if self.env.curl_uses_lib(lib):
|
||||
p['implementation'] = lib
|
||||
break
|
||||
elif self.protocol == 'h1' or self.protocol == 'http/1.1':
|
||||
proto = 'http/1.1'
|
||||
p['name'] = proto
|
||||
p['implementation'] = 'hyper' if self.env.curl_uses_lib('hyper')\
|
||||
else 'native'
|
||||
p['implementation'] = 'native'
|
||||
else:
|
||||
raise ScoreCardError(f"unknown protocol: {self.protocol}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue