Unverified Commit c32248f1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

http: mark bundle as not for multiuse on < HTTP/2 response

Fixes #3813
Closes #3815
parent b45fd893
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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