curl-and-php
Re: Prevent curl from timeout?
Date: Thu, 30 Mar 2006 21:30:06 -0800
On 3/30/06, Niklas Forsberg <foppa_at_subgate.mine.nu> wrote:
>
> Hey I am using curl to get source of a HTML-document in a loop
> that loops through about 1,000 pages. It works nice in the beginning...
>
> But for some reason it times out... What I get is:
>
> 0 156k 0 0 0 0 0 0 --:--:-- 0:05:51
> --:--:-- 0
>
>
> And the counter just counts on forever...
> How can I fix this?
Got any code?
If not, my 1st choice is to say it's the web server's fault- or something
to do with your LAN.... but obviously that's just a shot in the dark.
KC
_______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-03-31