Re: Progress meter always there

2023-04-19 Thread dengjfzh--- via curl-library
Hello, I have a question regarding the progress meter. I use libcurl and part of the easy handle configuration is as follows: CHECK_CURL_EASY (curl_easy_setopt (ep->eh, CURLOPT_XFERINFOFUNCTION, xfer_cb)); CHECK_CURL_EASY (curl_easy_setopt (ep->eh, CURLOPT_XFERINFODATA, ep));

The application does not have to keep the string around after setting this option

2023-04-19 Thread Andreas Falkenhahn via curl-library
Many manpages of curl options that take a string say: "The application does not have to keep the string around after setting this option". Does this imply that curl options which do NOT contain this phrase must ensure the string pointer passed to the option remains valid after calling

Re: Progress meter always there

2023-04-19 Thread Dan Fandrich via curl-library
On Wed, Apr 19, 2023 at 01:26:13PM +, Arnaud Compan via curl-library wrote: > Is there a way to silence the internal progress meter ? There's an opt for that: CURLOPT_NOPROGRESS -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette:

Progress meter always there

2023-04-19 Thread Arnaud Compan via curl-library
Hello, I have a question regarding the progress meter. I use libcurl and part of the easy handle configuration is as follows: CHECK_CURL_EASY (curl_easy_setopt (ep->eh, CURLOPT_XFERINFOFUNCTION, xfer_cb)); CHECK_CURL_EASY (curl_easy_setopt (ep->eh, CURLOPT_XFERINFODATA, ep));