cURL / Mailing Lists / curl-library / Single Mail

curl-library

Reuse ssl session accross curl handles

From: Thomas Glanzmann <thomas_at_glanzmann.de>
Date: Fri, 29 Apr 2016 09:43:01 +0200

Hello,
now that Ray has fixed session reuse, I wonder if it is possible to
reuse SSL session across curl handles? If I use the same curl handle it
works, but if I try to use curl_easy_duphandle[1] it does _not_ work.
Any tricks to reuse session with multiple curl handles? If it is not
possible, can I use the same curl handle using curl easy for multiple
connections in a multi threaded procss?

[1] https://curl.haxx.se/libcurl/c/curl_easy_duphandle.html

Cheers,
        Thomas
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-04-29