cURL / Mailing Lists / curl-library / Single Mail

curl-library

getting SessionHandle values

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

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