curl_easy_setopt.3: prefer XFERINFOFUNCTION to PROGRESSFUNCTION

This commit is contained in:
Daniel Stenberg 2014-05-16 08:51:38 +02:00
parent 68f0166a92
commit 077366d0c6

View File

@ -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, \fBint function(void *clientp, double dltotal, double dlnow, double ultotal,
double ulnow);\fP 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 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 frequent interval. While data is being transferred it will be called very
frequently, and during slow periods like when nothing is being transferred it frequently, and during slow periods like when nothing is being transferred it