Commit 76576cd1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

ConnectionExists() wrongly returned TRUE for too many connections if proxy

was not used...
parent 997672ba
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -936,9 +936,11 @@ ConnectionExists(struct UrlData *data,
          data->connects[i]=NULL; /* nothing here */
          continue; /* try another one now */
        }
      }

        *usethis = check;
        return TRUE; /* yes, we found one to use! */
        
      }
    }
    else { /* The requested needle connection is using a proxy,
              is the checked one using the same? */