aboutsummaryrefslogtreecommitdiff
path: root/CMake/Platforms
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-06-13 19:27:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-06-13 19:27:12 +0200
commit0feeab7802dd2a6465d22d153d8d36b2cca99b96 (patch)
tree2c830a356ee4e24e6eb9414958a953ffa7d14875 /CMake/Platforms
parentf24dc09d209a2f91ca38d854f0c15ad93f3d7e2d (diff)
curl_easy_perform: avoid busy-looping
When curl_multi_wait() finds no file descriptor to wait for, it returns instantly and this must be handled gracefully within curl_easy_perform() or cause a busy-loop. Starting now, repeated fast returns without any file descriptors is detected and a gradually increasing sleep will be used (up to a max of 1000 milliseconds) before continuing the loop. Bug: http://curl.haxx.se/bug/view.cgi?id=1238 Reported-by: Miguel Angel
Diffstat (limited to 'CMake/Platforms')
0 files changed, 0 insertions, 0 deletions