cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: asiohiper.cpp seems to be crippled

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 21 Apr 2015 22:41:47 +0200 (CEST)

On Tue, 21 Apr 2015, Daniel Hardman wrote:

> The sample app runs to completion, but it takes about 10 seconds to download
> content from www.google.com. Each time it receives data, it pauses for ~3
> secs, so I get 3 partial chunk transfers with long delays between them. When
> I download the same URL on the same machine using the curl binary, it
> completes in a split second--so there is no network problem. The problem
> must be with the asio interface in the sample.
>
> Do others see this same behavior?

I don't think I personally ever tried that example, nor have I investigated it
closesly to see that it actually works and uses the API as it should. I don't
know asio much either to help a lot. The example was written and provided by
Lijo Antony back in November 2012.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-21