On Sat, 17 Feb 2018, acorn12 wrote:

As I need to check the status of a POP3 mailbox and retrieve all header information about all messages, I am currently using one call to libcurl per message. For a dozen or more messages, this can be relatively slow as it requires a transaction per call.

Define "transaction" ? libcurl doesn't need to close the connection nor redo the login between invokes.

Is it possible to accomplish this with libcurl and if so, how can I implement such a scheme?

By reusing the easy handle, subsequent calls to curl_easy_perform() should be pretty quick.

--

 / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to