cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: getting SessionHandle values

From: bch <brad.harder_at_gmail.com>
Date: Thu, 19 May 2016 14:25:48 -0700

...and now I'm seeing that CURLINFO_COOKIELIST is an slist-returning
curl_easy_getinfo() value... This might be adaptable to the apparently
missing CONNECT_TO, etc options via getinfo_slist()...

Pardon me for "thinking out-loud" on the list :/

-bch

On 5/19/16, bch <brad.harder_at_gmail.com> wrote:
> Am just reviewing the new CURLOPT_CONNECT_TO, looking at the
> SessionHandle struct, and wondering: how do people retrieve current
> values from the structure? Is there a blessed way to get the slists,
> or do people muck about the struct and pull it manually, or has there
> been no call for introspecting this ? I wonder, because for a case of
> setting a CONNECT_TO value and debugging, I imagine there might be a
> case where one would want to know what's being mapped, and I think
> it'd be nice to get that info from the source (i.e. the
> SessionHandle), and not have to do duplicate potentially error-prone
> accounting on ones own.
>
> Cheers,
>
> -bch
>
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-05-19