mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
http: mark bundle as not for multiuse on < HTTP/2 response
Fixes #3813 Closes #3815
This commit is contained in:
parent
b45fd8938e
commit
c32248f17d
@ -3630,6 +3630,10 @@ CURLcode Curl_http_readwrite_headers(struct Curl_easy *data,
|
|||||||
if(conn->httpversion != 20)
|
if(conn->httpversion != 20)
|
||||||
infof(data, "Lying server, not serving HTTP/2\n");
|
infof(data, "Lying server, not serving HTTP/2\n");
|
||||||
}
|
}
|
||||||
|
if(conn->httpversion < 20) {
|
||||||
|
conn->bundle->multiuse = BUNDLE_NO_MULTIUSE;
|
||||||
|
infof(data, "Mark bundle as not supporting multiuse\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if(!nc) {
|
else if(!nc) {
|
||||||
/* this is the real world, not a Nirvana
|
/* this is the real world, not a Nirvana
|
||||||
|
Loading…
Reference in New Issue
Block a user