On 01/18/2013 02:51 PM, Chrysovaladis Datsios wrote:
        The option is set before the curl_easy_perfom(1). The linked list of
HTTP trailer headers contains some initial values of those headers.
The initial values are not the values that will be sent finally at the
end of the transfer. The final values of the HTTP trailer headers can
be known or calculated after the transfer has been performed. For
this, function curl_slist_replace(3) can be used to alter the initial
values to the real ones. The call of the new function
curl_slist_replace(3) inside a callback function can be used for that.

Something tells me that this might benefit from a new callback, to be called when it is time to output the trailer headers.

Linus
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to