curl-library
Re: Setting number of HTTP client connections
Date: Fri, 13 Sep 2002 13:43:50 +0200 (MET DST)
On Fri, 13 Sep 2002, Holger Rauch wrote:
> Is it possible to set the number HTTP client connections for libcurl?
Yes, but you probably don't want to do that anyway. I mean, how often do you
really manage to communicate with more than five different servers and get
back to them again without them having closed the connection anyway?
> I know there's an option named CURLOPT_MAXCONNECTS, but judging from what
> I've read in the man page for curl_easy_setopt(), it seems to be used for
> FTP only.
What in the docs made you draw this conclusion? It is wrong, and if you can
point out which lines in the docs that made you think this I could rephrase
them.
CURLOPT_MAXCONNECTS is the maximum number of "open" connections one single
curl handle might use. No matter which protocol.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-09-13