curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Connection closing problems,

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 2 Mar 2017 22:19:13 +0100 (CET)

On Wed, 1 Mar 2017, Nithyaselvan R wrote:

> I could never see a message that connection is closed successfully even
> after the program exits.

That's correct, it doesn't normally tell when it closes connections.

> Am i missing something, is there something i need to ensure the connection
> is closed ?

Nope. libcurl will close them properly when you use it as documented and if
they happen to be still alive when you close the handle(s), the connections
will be closed then at the latest.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-03-02