mirror of
https://github.com/curl/curl.git
synced 2026-08-26 02:23:31 +03:00
multi: handle errors returned from socket/timer callbacks
The callbacks were partially documented to support this. Now the behavior is documented and returning error from either of these callbacks will effectively kill all currently ongoing transfers. Added test 530 to verify Reported-by: Marcelo Juchem Fixes #8083 Closes #8089
This commit is contained in:
parent
b3f9c1aa09
commit
2b3dd01b77
14 changed files with 574 additions and 67 deletions
|
|
@ -404,6 +404,9 @@ curl_multi_strerror(CURLMcode error)
|
|||
case CURLM_BAD_FUNCTION_ARGUMENT:
|
||||
return "A libcurl function was given a bad argument";
|
||||
|
||||
case CURLM_ABORTED_BY_CALLBACK:
|
||||
return "Operation was aborted by an application callback";
|
||||
|
||||
case CURLM_LAST:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue