Re: [twsocket] THttpCli v6 : FollowRelocation / httpDnsLookuptriggersrequest done

2006-05-06 Thread Frans van Daalen
From: Francois PIETTE [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org


 If FollowRelocation is set then on some sites the requestdone event is
 triggert on a httpDnsLookup. Is this correct?

 At first glance not. Do you have an URL which show this behaviour and
 another which doesn't ?

one with this behaviour is easy, I'm still searching for one that doesn't

just use httpasy with the www.zoekhuis.nl url. Add this url twice and hit 
execute without the Simultaneous setting. In de IDE you will get a http 
component httpcli1 busy message on the second url because the first one 
fired req done on a httpdnslookup


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


Re: [twsocket] THttpCli v6 : FollowRelocation /httpDnsLookuptriggersrequest done

2006-05-06 Thread Francois PIETTE
 just use httpasy with the www.zoekhuis.nl url. Add this url twice and hit
 execute without the Simultaneous setting. In de IDE you will get a http
 component httpcli1 busy message on the second url because the first one
 fired req done on a httpdnslookup

OK. And for another url with relocation which doesn't show this behaviour ?

--
[EMAIL PROTECTED]
http://www.overbyte.be


- Original Message - 
From: Frans van Daalen [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Saturday, May 06, 2006 1:41 PM
Subject: Re: [twsocket] THttpCli v6 : FollowRelocation 
/httpDnsLookuptriggersrequest done


 From: Francois PIETTE [EMAIL PROTECTED]
 To: ICS support mailing twsocket@elists.org


 If FollowRelocation is set then on some sites the requestdone event is
 triggert on a httpDnsLookup. Is this correct?

 At first glance not. Do you have an URL which show this behaviour and
 another which doesn't ?

 one with this behaviour is easy, I'm still searching for one that doesn't

 just use httpasy with the www.zoekhuis.nl url. Add this url twice and hit
 execute without the Simultaneous setting. In de IDE you will get a http
 component httpcli1 busy message on the second url because the first one
 fired req done on a httpdnslookup


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


Re: [twsocket] THttpCli v6 : FollowRelocation/httpDnsLookuptriggersrequest done

2006-05-06 Thread Frans van Daalen

- Original Message - 
From: Francois PIETTE [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Saturday, May 06, 2006 3:39 PM
Subject: Re: [twsocket] THttpCli v6 : 
FollowRelocation/httpDnsLookuptriggersrequest done


 just use httpasy with the www.zoekhuis.nl url. Add this url twice and hit
 execute without the Simultaneous setting. In de IDE you will get a 
 http
 component httpcli1 busy message on the second url because the first one
 fired req done on a httpdnslookup

 OK. And for another url with relocation which doesn't show this behaviour 
 ?

mhhhseems I can not find one. 


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


Re: [twsocket] THttpCli v6 :FollowRelocation/httpDnsLookuptriggersrequest done

2006-05-06 Thread Francois PIETTE
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.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
The author for the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


- Original Message - 
From: Frans van Daalen [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Saturday, May 06, 2006 7:33 PM
Subject: Re: [twsocket] THttpCli v6 
:FollowRelocation/httpDnsLookuptriggersrequest done



 - Original Message - 
 From: Francois PIETTE [EMAIL PROTECTED]
 To: ICS support mailing twsocket@elists.org
 Sent: Saturday, May 06, 2006 3:39 PM
 Subject: Re: [twsocket] THttpCli v6 :
 FollowRelocation/httpDnsLookuptriggersrequest done


 just use httpasy with the www.zoekhuis.nl url. Add this url twice and 
 hit
 execute without the Simultaneous setting. In de IDE you will get a
 http
 component httpcli1 busy message on the second url because the first one
 fired req done on a httpdnslookup

 OK. And for another url with relocation which doesn't show this behaviour
 ?

 mhhhseems I can not find one.


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


Re: [twsocket] THttpCli v6:FollowRelocation/httpDnsLookuptriggersrequest done

2006-05-06 Thread Frans van Daalen
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