cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to control number of open descriptors with curl_multi_socket

From: Pedro Larroy <pedro.larroy.lists_at_gmail.com>
Date: Sun, 6 May 2007 19:18:07 +0200

Hello.

I'm using curl_multi_socket interface with around 10 handles, but
number of open fds by the process goes up a lot more than that, I have
even seen fds up to 50 opened (many in the CLOSE_WAIT state) but curl
doesn't seem to leak fds anymore. Is there an upper bound in the
number of open fds, or a recommended way to control this?

Regards.
Received on 2007-05-06