cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libucurl 7.21.4 CURLOPT_PROGRESSFUNCTION && CURLOPT_HEADERFUNCTION execute after curl_easy_perform(CURL*) returns

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 Feb 2011 16:56:40 +0100 (CET)

On Wed, 23 Feb 2011, Mike Henshaw wrote:

> Both the CURLOPT_PROGRESSFUNCTION and CURLOPT_HEADERFUNCTION execute after
> curl_easy_perform(CURL*) returns CURLE_OK, by then header file has been
> closed.

...

> Response message after curl_easy_perform(CURL*) returns and file handle
> closed: 221 Goodbye.

Right, those are called when curl_easy_cleanup() is called.

We need to make sure this is properly documented. Do you have any suggestion
on how it would say this to be perfectly clear?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-23