Board index » delphi » TidHTTP and ReadTimeOut

TidHTTP and ReadTimeOut


2003-06-26 12:57:27 AM
delphi213
The TidHTTP.ReadTimeOut property doesn't seem to work in Indy. I am running version version 9.0.4 beta.
The following command is being made to a server where I expect about a 30 second response time:
Indy.ReadTimeOut := 60000;
Indy.Get(URL, ms);
It times out after about 15 seconds. If I change the ReadTimeOut value to 1000 (meaning I'd expect it to time out after 1 second) it still times out after about 15 seconds.
When it times out, it raises the exception:
Socket Error # 10060
Connection timed out.
Is there another way to set the time-out? I'd like the component to wait at least 60 seconds for a reply.
 
 

Re:TidHTTP and ReadTimeOut

"jeff" <XXXX@XXXXX.COM>wrote in news:3ef9d477$XXXX@XXXXX.COM:
Quote
The TidHTTP.ReadTimeOut property doesn't seem to work in Indy. I am
running version version 9.0.4 beta.
9.0.4 is well over a year old. Please upgrade.
Is Indy useful to you? Send a postcard please!
www.hower.org/kudzu/indypost.html
ELKNews - Get your free copy at www.atozedsoftware.com