cURL / Mailing Lists / curl-library / Single Mail

curl-library

Keeping cURL handle between uses, depending on time period?

From: <nils_at_meditalk.com>
Date: Sat, 15 Aug 2015 08:49:44 GMT

> To keep the cURL handle between transmissions is a recommended procedure. If I am expecting to send messages no closer than 5 seconds up to minutes apart, is it a case when I ought to keep the handle open?

> If so, what kind of cleanup need I do in between transmissions?

> Can I check the validity of the handle to see if a new one should be opened? (The transmitting RaspberryPi will be a standalone CPU, expected to run for years without intervention !)
An answer from someone in the know will be greatly appreciated!
Nils

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