> The GetHeaderLineNext is called from SocketSessionConnected. 

It is not called from there but placeholder FNext is assigned 
with function GetHeaderLineNext().
FNext is the called later from SocketDataAvailable.

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


S.Korotky wrote:
> Hi, All!
> 
> I'm investigating the HttpProt.pas for some reason and stuck at a
> strangeness. 
> 
> The GetHeaderLineNext is called from SocketSessionConnected. At this
> moment there may be no data received yet, so the 'if':
>     if FLastResponse = '' then begin
> in the GetHeaderLineNext is true, and the event is fired -
> TriggerHeaderEnd. 
> 
> Is this correct? Or, is it supposed that it's impossible to establish
> a new connection without getting some data for the client?
> 
> Best wishes,
> Stanislav Korotky.
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to