cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl_easy_perform() is slow

From: <Bryan.James.Krone-EXT_at_jci.com>
Date: Thu, 20 Oct 2011 10:48:40 -0500

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?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-20