cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_perform() is slow

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 20 Oct 2011 22:58:24 +0200 (CEST)

On Thu, 20 Oct 2011, Bryan.James.Krone-EXT_at_jci.com wrote:

> I'm using libcurl to download a 16 Mb file. From the command line I can run
> "curl file://file.bin >newfile.bin" and it completes in 17 seconds(~835k/s).
> The curl_easy_perform() call runs at 8k/s and takes almost an hour. Why
> don't the two commands run at the same speed?

I don't know. What libcurl version on what operating syetsm and how does your
libcurl using app handle the received data?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-20