mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
multi: add curl_multi_wakeup()
This commit adds curl_multi_wakeup() which was previously in the TODO list under the curl_multi_unblock name. On some platforms and with some configurations this feature might not be available or can fail, in these cases a new error code (CURLM_WAKEUP_FAILURE) is returned from curl_multi_wakeup(). Fixes #4418 Closes #4608
This commit is contained in:
parent
0a65febccf
commit
f3c35e371c
20 changed files with 684 additions and 17 deletions
|
|
@ -389,6 +389,9 @@ curl_multi_strerror(CURLMcode error)
|
|||
case CURLM_RECURSIVE_API_CALL:
|
||||
return "API function called from within callback";
|
||||
|
||||
case CURLM_WAKEUP_FAILURE:
|
||||
return "Wakeup is unavailable or failed";
|
||||
|
||||
case CURLM_LAST:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue