mirror of
https://github.com/curl/curl.git
synced 2026-08-26 12:23:34 +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
|
|
@ -26,11 +26,11 @@
|
|||
* Prototypes for library-wide functions provided by multi.c
|
||||
*/
|
||||
|
||||
void Curl_updatesocket(struct Curl_easy *data);
|
||||
CURLcode Curl_updatesocket(struct Curl_easy *data);
|
||||
void Curl_expire(struct Curl_easy *data, timediff_t milli, expire_id);
|
||||
void Curl_expire_clear(struct Curl_easy *data);
|
||||
void Curl_expire_done(struct Curl_easy *data, expire_id id);
|
||||
void Curl_update_timer(struct Curl_multi *multi);
|
||||
CURLMcode Curl_update_timer(struct Curl_multi *multi) WARN_UNUSED_RESULT;
|
||||
void Curl_attach_connnection(struct Curl_easy *data,
|
||||
struct connectdata *conn);
|
||||
void Curl_detach_connnection(struct Curl_easy *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue