cURL / Mailing Lists / curl-library / Single Mail

curl-library

Libcurl Connection Lifetime

From: Ranjan Khanna <ebox.ranjan_at_gmail.com>
Date: Tue, 11 Oct 2016 16:00:09 -0500

Hi,

Does libcurl has any API that sets the persistent connection expiry time?
Basically, what I want is that libcurl should expire/close an already
establishes connection after x minutes and then re-establishes the
connection itself.

I can implement this as a part of my application logic, but before doing
this in my application, I want to check if libcurl has any such way to do
it.

Any pointers would be appreciated.

Regards,
Ranjan

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-10-16