cURL / Mailing Lists / curl-library / Single Mail


Re: 421 I can't accept more than 5 connections as the same user

From: Daniel Stenberg <>
Date: Mon, 6 Jan 2014 00:36:18 +0100 (CET)

On Sat, 4 Jan 2014, Stefano D. Mtangoo wrote:

> RESPONSE: 421 Too many connections (20) from this IP
> Now what am doing is loop in folder, get all files and subfolders and a
> create easy handle for each and push them to multihandle and call multi's
> perform.

Right, each easy handle will run independently and thus create their own

> I have set CURLMOPT_MAXCONNECTS to 15 so at least I expected it to complain

That's not how CURLMOPT_MAXCONNECTS works. You probably want
CURLMOPT_MAX_HOST_CONNECTIONS for that, if you insist on that funny design.

List admin:
Received on 2014-01-06