curl / Mailing Lists / curl-library / Single Mail

curl-library

Libcurl handles and file descriptors and select

From: surya chandrika via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 12 Oct 2017 16:02:17 +0530

Hi,
Am new into libcurl world, please clarify the below queries:

-> When is the file descriptors actually associated with a handle.
-> Is there any limitation in the number of handles that can be created by
a process.

Requirement:

Need to post messages received in a message queue to a remote host(s) based
on the subscription details in message asynchronously. expected load in
huge.

1. a thread which reads a message queue and create handles
2. a thread which will call select() function to check if any event has
occurred.
3. multiple threads which in turn will call curl_multi_perform and post to
remote host.

Please guide me.

Thanks
Surya

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