]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http: remove the trace message "Mark bundle... multiuse"
authorRadu Hociung <radu.git@ohmi.org>
Mon, 26 Dec 2022 05:39:52 +0000 (00:39 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 Dec 2022 08:29:36 +0000 (09:29 +0100)
The message "Mark bundle as not supporting multiuse" was added at commit
29364d93 when an http/2-related bug was fixed, and it appears to be a
leftover trace message.

This message should be removed because:
 * it conveys no information to the user
 * it is enabled in the default build (--enable-verbose)
 * it reads like a warning/unexpected condition
 * it is equivalent to "Detected http proto < 2", which is
   not a useful message.
 * it is a time-wasting red-herring for anyone who encounters
   it for the first time while investigating some other, real
   problem.

This commit removes the trace message "Mark bundle as not
supporting multiuse"

Closes #10159

lib/http.c

index 1b7502280ebb797847590f4fed1cd1b4d6550c36..275c0cb21cb1f63e8e9afccb8e6e3cb51cb183ce 100644 (file)
@@ -4290,7 +4290,6 @@ CURLcode Curl_http_readwrite_headers(struct Curl_easy *data,
           }
           if(conn->httpversion < 20) {
             conn->bundle->multiuse = BUNDLE_NO_MULTIUSE;
-            infof(data, "Mark bundle as not supporting multiuse");
           }
         }
         else if(!nc) {