Given your answer, I probably miunderstood your question.
Maybe you should reformulate using other words and elaborating a little bit 
more.

-- 
francois.pie...@overbyte.be
Embarcadero MVP
http://www.overbyte.be
http://francois-piette.blogspot.com




-----Message d'origine-----
De : twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la 
part de myiisvif
Envoyé : mercredi 17 avril 2013 03:23
À : twsocket
Objet : Re: [twsocket] i using the THttpAppSrv in my app

the request only can be added to the AddGetHandler  proc.
and it can not using the MASK. eg:

 myweb.AddGetHandler('/*.asp',tasp_proc); 

can be??

that is why i will use the Tsrv_myapp.mywebGetDocument proc.  because it can be 
hold everything.

btw,.AddGetHandler is a thread work mode??




myiisvif

From: François Piette
Date: 2013-04-17 02:25
To: 'ICS support mailing'
Subject: Re: [twsocket] i using the THttpAppSrv in my app
> i found if i call the wmi ole object to get wmi data,THttpAppSrv  will
hung and lose the 80 connection.
>procedure Tsrv_myapp.mywebGetDocument(Sender, Client: TObject;
>  var Flags: THttpGetFlag);
>the call the wmi object...............
>for just two or three times.
>why? bug?

I'm not sure I understand clearly your problem...
If the call you are doing is blocking, then you should consider moving it to a 
worker thread so that THttpAppSrv can serve other connections meanwhile.
You may call AnswerXXX and Finish when the thread has finished his work.

--
francois.pie...@overbyte.be
Embarcadero MVP
http://www.overbyte.be
http://francois-piette.blogspot.com




--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to