On Wed, 26 Mar 2014, john gloster wrote:
Could someone let me know when an ssh connection is established? If it is during curl_easy_perform(), then a fresh ssh connection establishment will happen for each curl_easy_perform() if the curl handle is cleaned up after the call to curl_easy_perform(). Please let me know whether my understanding is correct.
It gets created in curl_easy_perform() and will remain open (by default) until you call curl_easy_cleanup() for the handle.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
