From 077366d0c6dff5419c13266253851ce6371ad4fd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 May 2014 08:51:38 +0200 Subject: curl_easy_setopt.3: prefer XFERINFOFUNCTION to PROGRESSFUNCTION --- docs/libcurl/curl_easy_setopt.3 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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 -- cgit v1.2.3