Commit 2ac560e5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

even when we get a single connection to deal with, we must still check for

timeout'ed connections and possibly deal with them too
parent 8f8ba948
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1203,10 +1203,9 @@ static CURLMcode multi_socket(struct Curl_multi *multi,
         last */
      singlesocket(multi, data->set.one_easy);

    *running_handles = multi->num_alive;

    /* or should we fall-through and do the timer-based stuff? */
    return result;
    /* Now we fall-through and do the timer-based stuff, since we don't want
       to force the user to have to deal with timeouts as long as at least one
       connection in fact has traffic. */
  }

  /*