cURL / Mailing Lists / curl-library / Single Mail


Re: ssh connection.

From: Daniel Stenberg <>
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.

List admin:
Received on 2014-04-03