mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
hyper: temporarily remove HTTP/2 support
The current design of the Hyper integration requires rebuilding the Hyper clientconn for each request. However, building the clientconn requires resending the HTTP/2 connection preface, which is incorrect from a protocol perspective. That in turn causes servers to send GOAWAY frames, effectively degrading performance to "no connection reuse" in the best case. It may also be triggering some bugs where requests get dropped entirely and reconnects take too long. This doesn't rule out HTTP/2 support with Hyper, but it may take a redesign of the Hyper integration in order to make things work. Closes #12191
This commit is contained in:
parent
9ac6023d36
commit
b9b50f3193
5 changed files with 26 additions and 43 deletions
|
|
@ -455,7 +455,7 @@ static const struct feat features_table[] = {
|
|||
#ifndef CURL_DISABLE_HSTS
|
||||
FEATURE("HSTS", NULL, CURL_VERSION_HSTS),
|
||||
#endif
|
||||
#if defined(USE_NGHTTP2) || defined(USE_HYPER)
|
||||
#if defined(USE_NGHTTP2)
|
||||
FEATURE("HTTP2", NULL, CURL_VERSION_HTTP2),
|
||||
#endif
|
||||
#if defined(ENABLE_QUIC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue