"Keep-Alive received" and "Timeout" errors after FETCH
Posted: Mon May 18, 2009 9:45 am
When I try to fetch this site:
<fetch 'http://www.acurazine.com/forums/forumdisplay.php?f=23'>
The first response is the error:
Keep-Alive received without Content-Length in response from www.acurazine.com:80 for http://www.acurazine.com/forums/forumdisplay.php?f=23
Then the script hangs there for 2-3 munutes, and reports another error:
Timeout reading from www.acurazine.com:80 in the function htbuf_readnblk
Strangely, after that the returned $ret seems to contain the valid html content, and my script can continue processing it.
So the only drawback is that the whole process takes a very long time (considering there might be many fetches).
How can I prevent those errors?
I tried : <vxcp timeout -1> , as well as <urlcp timeout nnn>
Thanks a lot.
<fetch 'http://www.acurazine.com/forums/forumdisplay.php?f=23'>
The first response is the error:
Keep-Alive received without Content-Length in response from www.acurazine.com:80 for http://www.acurazine.com/forums/forumdisplay.php?f=23
Then the script hangs there for 2-3 munutes, and reports another error:
Timeout reading from www.acurazine.com:80 in the function htbuf_readnblk
Strangely, after that the returned $ret seems to contain the valid html content, and my script can continue processing it.
So the only drawback is that the whole process takes a very long time (considering there might be many fetches).
How can I prevent those errors?
I tried : <vxcp timeout -1> , as well as <urlcp timeout nnn>
Thanks a lot.