]> granicus.if.org Git - curl/commit
curl_multi_wait: no wait if no descriptors to wait for
authorDaniel Stenberg <daniel@haxx.se>
Tue, 9 Oct 2012 20:19:49 +0000 (22:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 9 Oct 2012 20:19:49 +0000 (22:19 +0200)
commit8373ca3641ce793a868377600fb5fd7b8e8bf95a
treef830bd7bd23affe94bd9ed4d6f79974706729981
parent3644a3502751529db0b4f0e8bdc220526596d208
curl_multi_wait: no wait if no descriptors to wait for

This is a minor change in behavior after having been pointed out by Mark
Tully and discussed on the list. Initially this case would internally
call poll() with no sockets and a timeout which would equal a sleep for
that specified time.

Bug: http://curl.haxx.se/mail/lib-2012-10/0076.html
Reported by: Mark Tully
docs/libcurl/curl_multi_wait.3
lib/multi.c