| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: great performance with curl and c-ares / timeouts
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 27 Dec 2010 11:53:38 +0100 (CET)
On Mon, 27 Dec 2010, Pedro Larroy wrote:
> On the other hand I'm trying to run some experiments using
Let's try to isolate the problem. I did this to try to repeat your problem:
(in terminal A) $ nc -p 8888 -l
I used these additional options:
curl_easy_setopt(conn->easy, CURLOPT_CONNECTTIMEOUT, 10);
... and my application ends up saying this (a piece of the verbose output):
Progress: localhost:8888 (0/0)
So, it does seem to do its job when done like this. Can you repeat your
> 2 - Is there a way to interrupt a transfer, I don't see any call in the easy
Just remove the easy handle from the multi handle whenever you want!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-12-27 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info