|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: HTTPS persistent connections state check
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 29 Nov 2009 19:34:24 +0100 (CET)
On Fri, 27 Nov 2009, Massimo Schiappa wrote:
> i'm using the easy interface of libcurl for a client https, whose
> CURLcode code = curl_easy_setopt(myCurl, CURLINFO_LASTSOCKET, &socketDescriptor);
> if ( socketDescriptor == -1 )
> Is it the right way, or is there another and better way?
libcurl is designed to provide the same functionality no matter if the
The above method is probably working, although of course it only tells about
> And in a multithreaded environment could this check conflict with an https
No other thread can perform on the same connection at the same time, as
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-11-29 These mail archives are generated by hypermail. |
Page updated November 16, 2009.
web site info