Indy TIdHTTP POSTs getting slow responses
Posted on 2013-06-19
I am having a problem with a Delphi 5 app, utilising first Indy 9, and then Indy 10.
Components in use (Indy 9):
TIdHTTP, TIdConnectionIntercept & TIdSSLIOHandlerSocket.
Components in use (Indy 10):
TIdHTTP, TIdConnectionIntercept & TIdSSLIOHanlderSocketOpenSSL.
(SSL is in use, with no TIdAntiFreeze in use)
The problem the app is presently experiencing is slow responses (between 3 and 25 seconds) to TIdHTTP POSTs.
Based on assorted links, I have tried:
- setting ConnectTimeout to zero
- setting the HTTPOptions flag hoKeepOriginalProtocol
- upgraded from 9 to 10 (10.5.8 XE2)
As a test, I also tried using a test executable written in C# (HttpWebRequest), which gets split-second response times.
Is there anything else I can try with Indy 9/10 config?