Hello,

Currently, when dnslookup is aborted, it calls StateChange(httpReady) twice, 
first one triggering requestdone and the second one is where this should be 
because that's the real end of operation (message flow).

Debug and see!

Best Regards,

Sz

----- Original Message ----- 
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Thursday, July 26, 2007 7:29 PM
Subject: Re: [twsocket] Proposal for THttpCli.Abort


> Hello,
>
> I'm not 100% sure, but it could be that in some circumstances events are
> not fired in same sequence as before, which would have impact on
> existing applications. Or am I wrong here ?
>
> ---
> Rgds, Wilfried [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> http://www.mestdagh.biz
>
> Thursday, July 26, 2007, 10:04, Fastream Technologies wrote:
>
>> Hello,
>
>> Can it be altered like this please:
>
>
>>     if bFlag then
>>         SocketSessionClosed(Self, 0)
>>     else
>>     begin
>>         FCtrlSocket.Close;
>>         StateChange(httpReady);  { 13/02/99 }
>>     end;
>> end;
>
>> instead of
>
>
>>     if bFlag then
>>         SocketSessionClosed(Self, 0)
>>     else
>>         FCtrlSocket.Close;
>
>>     StateChange(httpReady);  { 13/02/99 }
>> end;
>
>> Because in this case the TriggerRequestDone is launched in the like
>> StateChange(httpReady);  { 13/02/99 }BEFORE all the messages are 
>> processed.
>> It can also be launched by SocketSessionClosed with PostMessage!!!
>
>> Best Regards,
>
>> SZ
>
>
> -- 
> 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 

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