cURL / Mailing Lists / curl-library / Single Mail


RE: Multi Interface

From: Daniel Stenberg <>
Date: Wed, 13 Aug 2008 11:41:59 +0200 (CEST)

On Wed, 13 Aug 2008, Peter Thiess wrote:

> I'm a bit surprised that the multi interface wouldn't be able to enhance
> transfer rates since this could increase bandwidth.

Oh, you mean by connecting to the same server with multiple connections and
thus avoiding/working around evil "traffic shaping" that service providers
impose? (On a "normal" network connection do don't gain any speed by doing
that stunt.)

Yes sure that it can do, but that's not thanks to the multi interface but more
thanks to you doing multiple simultaneous transfers. You could easily use
multiple threads and use the easy interface in each thread and accomplish the
(almost) same effect. I'm not saying you shouldn't use the multi interface,
I'm just a bit surprised about the mentioned reason.

Do you still get these problems if you only do a small amount of connections
(like 3) to that server? If not, what amount of connections do you need to get
the problems? Do the problems always occur (the same way) if you run the same
68-connections-against-the-same-server test on other FTP servers?

What if you try the same code against a HTTP server, does that show the same

What does the FTP server logs tell about the transfers? Does it think they're
all fine and dandy?

I've not seen these problems before.

Received on 2008-08-13