aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-04 13:06:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-04 13:06:36 +0000
commit2ac560e58bb92c8225919f782e18fc93b436b9d9 (patch)
tree69d50beb83a6b04c9421274d3c9b3b5ab45850bc
parent8f8ba9486db931aadde595c7076c371bbe24e6af (diff)
even when we get a single connection to deal with, we must still check for
timeout'ed connections and possibly deal with them too
-rw-r--r--lib/multi.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/multi.c b/lib/multi.c
index fa88cdaab..4e6efecd1 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -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. */
}
/*