[twsocket] Should the http header end event be triggered on a starting session?

2007-07-04 Thread S.Korotky
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

Re: [twsocket] Should the http header end event be triggered on astarting session?

2007-07-04 Thread Arno Garrels
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