multi_runsingle: don't timeout completed handles
authorDaniel Stenberg <daniel@haxx.se>
Mon, 13 Dec 2010 11:51:48 +0000 (12:51 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 13 Dec 2010 11:51:48 +0000 (12:51 +0100)
commit0fd439ebaceed1ff049a4173e98da1ec2b8d0ed0
tree62e81b1813fb32bdc54328a023e2ac1ebabc4e68
parent012f9b7f048425c543af44b22eea8c210f269d39
multi_runsingle: don't timeout completed handles

The generic timeout code must not check easy handles that are already
completed. Going to completed (again) within there risked decreasing the
number of alive handles again and thus it could go negative.

This regression bug was added in 7.21.2 in commit ca10e28f06f1
lib/multi.c