Re: HTTP connexion very slow

Giganews Newsgroups
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
news:4EEC032D36E6E340gwenael.mance…@bodet.com...

> 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)

Replies

In response to

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