cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ssh connection.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 3 Apr 2014 11:43:22 +0200 (CEST)

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
Received on 2014-04-03