cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl hangs in select() function when accessing a lot of URLs

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 11 Jan 2007 13:08:17 +0100 (CET)

On Wed, 10 Jan 2007, Vince Tagle wrote:

> Actually, upon closer inspection, I think some of the websites are handing
> back bogus data or something. The one that I was getting stuck on in one
> instance turned out to be a redirect that was redirecting to the same URL.

But then it doesn't hang in select()!? And besides, libcurl has a max on
number of redirects that it follows so it should stop after that amount
(default is 50 iirc).

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-01-11