mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
url: part of expression is always true: (bundle->multiuse == 0)
Fixes warning detected by PVS-Studio Fixes #4374
This commit is contained in:
parent
e3c41ebd7c
commit
3ab45650e2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user