Skip to content

Commit

Permalink
url: part of expression is always true: (bundle->multiuse == 0)
Browse files Browse the repository at this point in the history
Fixes warning detected by PVS-Studio
Fixes #4374
  • Loading branch information
bagder committed Sep 20, 2019
1 parent e3c41eb commit 3ab4565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/url.c
Expand Up @@ -1048,7 +1048,7 @@ ConnectionExists(struct Curl_easy *data,
/* We can't multiplex if we don't know anything about the server */
if(canmultiplex) {
if(bundle->multiuse == BUNDLE_UNKNOWN) {
if((bundle->multiuse == BUNDLE_UNKNOWN) && data->set.pipewait) {
if(data->set.pipewait) {
infof(data, "Server doesn't support multiplex yet, wait\n");
*waitpipe = TRUE;
Curl_conncache_unlock(data);
Expand Down

0 comments on commit 3ab4565

Please sign in to comment.