multi: move on from STATE_DONE faster
authorDaniel Stenberg <daniel@haxx.se>
Wed, 21 Aug 2013 21:08:38 +0000 (23:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Aug 2013 20:55:25 +0000 (22:55 +0200)
commit22adb46a32beee185165c3dba444c3e6d660fb8f
treeebaaa40575dbab243c93848d63ea22603cdfd957
parentfc99eaa5aee981e7ecc85290d964f2a5b4eb1bde
multi: move on from STATE_DONE faster

Make sure we always return CURLM_CALL_MULTI_PERFORM when we reach
CURLM_STATE_DONE since the state is transient and it can very well
continue executing as there is nothing to wait for.

Bug: http://curl.haxx.se/mail/lib-2013-08/0211.html
Reported-by: Yi Huang
lib/multi.c