diff options
author | Gergely Nagy <ngg@tresorit.com> | 2019-11-17 15:12:15 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-11-25 15:45:56 +0100 |
commit | f3c35e371cc70f1b6bc33f7faa904d37d1567eb3 (patch) | |
tree | 3c7668dec5726aa510d7be282ff440c9ee370802 /lib/strerror.c | |
parent | 0a65febccf0e31bc987be3f90c01194804e61b77 (diff) | |
download | curl-f3c35e371cc70f1b6bc33f7faa904d37d1567eb3.tar.gz |
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
Diffstat (limited to 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index ba2e7a6f9..baf5451ae 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -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; } |