> 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

Reply via email to