From: "Francois PIETTE" <[EMAIL PROTECTED]>
> So, this is the normal behaviour :-)
> You can either ask the component to not follow the relocation, or use a 
> flag
> in the OnLocationChange and OnRequestDone to handle that particular case.
>
mhhh.....just tested it with v5 and you're right. Seems there has always 
been a bug in my code :(

I therefore have to change the requestdone event from

    PostMessage((Sender as THttpCli).CtrlSocket.Handle, WM_QUIT, 0, 0);

to

   If (Sender as ThttpCli).State <> httpDnsLookup
   then PostMessage((Sender as THttpCli).CtrlSocket.Handle, WM_QUIT, 0, 0);


Thanks for helping! 


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