diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-05-16 08:51:38 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-05-16 08:52:06 +0200 |
commit | 077366d0c6dff5419c13266253851ce6371ad4fd (patch) | |
tree | df160c89aeaf2ae193dea37468e54e3fd4e5d008 /docs/libcurl | |
parent | 68f0166a92cff3660993645e9ad278b26d295832 (diff) |
curl_easy_setopt.3: prefer XFERINFOFUNCTION to PROGRESSFUNCTION
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index bd66e0fa3..c044163d8 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -347,6 +347,8 @@ Pass a pointer to a function that matches the following prototype: \fBint function(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow);\fP +We encourage users to use \fICURLOPT_XFERINFOFUNCTION\fP instead, if you can. + This function gets called by libcurl instead of its internal equivalent with a frequent interval. While data is being transferred it will be called very frequently, and during slow periods like when nothing is being transferred it |