Re: HTTP connexion very slow

Giganews Newsgroups
Subject: Re: HTTP connexion very slow
Posted by:  Remy Lebeau \(Indy Team\) (re…
Date: Fri, 29 Jul 2011

"Gwen" <gwenael.mance…> 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)


In response to

HTTP connexion very slow posted by Gwen on Fri, 29 Jul 2011