cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP and multi interface

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Jan 2010 12:53:20 +0100 (CET)

On Fri, 8 Jan 2010, Gil Weber wrote:

> Another issue that I found that may be related to this problem. At the end
> on my process I remove the easy handle from the multi interface and then, I
> clean it up. The problem is that the socket is not closed ! And if I do a
> netstat it is already in established state. It is only closed if I call
> "curl_multi_cleanup" function.

No, that's completely unrelated and is fully expected. libcurl caches
connections to allow you to re-use them again without having to reconnect.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-08