|Subject:||Re: HTTP connexion very slow|
|Posted by:||Remy Lebeau \(Indy Team\) (re…@lebeausoftware.org)|
|Date:||Fri, 29 Jul 2011|
"Gwen" <gwenael.mance…@bodet.com> wrote in message
> I debug into CheckIsReadable until TIdSocketListWindows.SelectRead.
> But I don't understand what is doing in this code.
> Does the code read the response in the buffer ?
No. That code is merely waiting for the socket to report that there is
something available to read. The actual reading occurs after
TIdSocketHandle.Readable() returns True. If it is taking 15 seconds, then
there is no data on the socket during that time.
Remy Lebeau (TeamB)
HTTP connexion very slow posted by Gwen on Fri, 29 Jul 2011