mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:33:33 +03:00
XFERINFOFUNCTION: support CURL_PROGRESSFUNC_CONTINUE
(also for PROGRESSFUNCTION) By returning this value from the callback, the internal progress function call is still called afterward. Closes #4599
This commit is contained in:
parent
9b879160df
commit
7cf18b05e0
5 changed files with 27 additions and 11 deletions
|
|
@ -210,6 +210,11 @@ struct curl_httppost {
|
|||
set. Added in 7.46.0 */
|
||||
};
|
||||
|
||||
|
||||
/* This is a return code for the progress callback that, when returned, will
|
||||
signal libcurl to continue executing the default progress function */
|
||||
#define CURL_PROGRESSFUNC_CONTINUE 0x10000001
|
||||
|
||||
/* This is the CURLOPT_PROGRESSFUNCTION callback prototype. It is now
|
||||
considered deprecated but was the only choice up until 7.31.0 */
|
||||
typedef int (*curl_progress_callback)(void *clientp,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue