| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Indefinate timeout on HTTP get
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 4 Oct 2010 23:26:45 +0200 (CEST)
On Mon, 4 Oct 2010, curl_at_james-rhodes.demon.co.uk wrote:
> The program periodically does an HTTP GET using the 'easy' interface, in
Does it happen often? Regularly? Sometimes? Only once?
> During this period another thread was sucessfully executing FTP gets/puts
That proves the network was functional, but a single connection could still
> It is notable that the call returned just as the the network interface was
Well, at that point the function call probably returned an error which it
> MSDN tells me...
> "If no incoming data is available at the socket, the recv call blocks and
That's correct.
> The interesting thing is that I can see from the web-server access_log that
Can you also see it happen if you snoop on the network like with wireshark? If
> This is over a wireless broadband device so it possible that there is some
Yeah, that's what it sounds to me as well. Either that or a bug somewhere
> Is an indefinate timeout the deafult behaviour?
Yes.
> Is it possible that Curl is stuck doing something else?
Everything is possible, but it isn't a bug that I recognize.
> Can I affect this timeout behaviour with the use of the various TIMOUT
You can affect this with a CURLOPT_TIMEOUT, by using CURLOPT_LOW_SPEED_LIMIT /
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-10-04 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info