Board index » delphi » TidHTTP and ReadTimeOut
TidHTTP and ReadTimeOut
2003-06-26 12:57:27 AM
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;
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.