cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: http headers free and multi

From: Mohun Biswas <m_biswas_at_mailinator.com>
Date: Tue, 10 Oct 2006 12:22:08 -0400

Tom Jerry wrote:
> I have 2 solutions (I don't like them very much):
> 1. access the headers from the easy handle after the request ended
> using my own mapping between the easy handle and its headers.
> 2. use the curl_easy_getinfo with CURLINFO_PRIVATE after request is
> finished (when the private data is the headers)
>
> Can you advice me of a more elegant solution other then those?

This has come up before here, most recently in a similar request from me
a month or so back. At that time Daniel said he was open to feedback
from others who would like help from the API in retrieving pointers in
order to free them. I guess your message would count as a vote in favor.

MB
Received on 2006-10-10