Board index » delphi » Indy 9 HTTP & Read Timeout
Indy 9 HTTP & Read Timeout
2004-01-21 05:39:35 AM
I continue to have a problem that I was never able to get resolved by myself
or others through the news groups. I have a Delphi 7 application that does a
little bit of web crawling. I use the TidHTTP component to download each
web page. Downloading is done within a loop statement and is supposed to go
until it runs out of URLs. After about 30 pages are downloaded I start
getting Read Timeout errors that never go away. The only way to continue is
to close the application and then re-open it. I have tried using keep-alive,
creating the HTTP component dynamically (freeing it and re-creating it after
each page request), and forcing a disconnect after each request. Nothing
has helped. It seems as though the HTTP component won't release the
connection so the server is preventing new connections.
Anyone have any ideas on this?