mirror of
https://github.com/curl/curl.git
synced 2026-04-15 09:11:40 +03:00
http: mark bundle as not for multiuse on < HTTP/2 response
This commit is contained in:
parent
9e8f28a8f1
commit
29364d9356
1 changed files with 4 additions and 0 deletions
|
|
@ -3630,6 +3630,10 @@ CURLcode Curl_http_readwrite_headers(struct Curl_easy *data,
|
|||
if(conn->httpversion != 20)
|
||||
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) {
|
||||
/* this is the real world, not a Nirvana
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue