-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of twsocket-requ...@elists.org
Sent: Wednesday, April 17, 2013 8:00 AM
To: twsocket@elists.org
Subject: TWSocket Digest, Vol 521, Issue 2
Send TWSocket mailing list submissions to
twsocket@elists.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
or, via email, send a message with subject or body 'help' to
twsocket-requ...@elists.org
You can reach the person managing the list at
twsocket-ow...@elists.org
When replying, please edit your Subject line so it is more specific than "Re:
Contents of TWSocket digest..."
Today's Topics:
1. i using the THttpAppSrv in my app (myiisvif)
2. Re: i using the THttpAppSrv in my app
(Angus Robertson - Magenta Systems Ltd)
3. Re: i using the THttpAppSrv in my app (Fran?ois Piette)
4. Re: i using the THttpAppSrv in my app (myiisvif)
5. Re: i using the THttpAppSrv in my app (myiisvif)
6. Re: MagFtp and SslContext (Allan Fernandes)
7. Re: MagFtp and SslContext (Angus Robertson - Magenta Systems Ltd)
8. Re: i using the THttpAppSrv in my app
(Angus Robertson - Magenta Systems Ltd)
9. Re: MagFtp and SslContext (Allan Fernandes)
--
Message: 1
Date: Tue, 16 Apr 2013 21:30:58 +0800
From: myiisvif
Subject: [twsocket] i using the THttpAppSrv in my app
To: twsocket
Message-ID: <201304162130552797...@gmail.com>
Content-Type: text/plain; charset="gb2312"
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?
myiisvif
--
Message: 2
Date: Tue, 16 Apr 2013 16:09 +0100 (BST)
From: "Angus Robertson - Magenta Systems Ltd"
Subject: Re: [twsocket] i using the THttpAppSrv in my app
To: twsocket@elists.org
Message-ID:
Content-Type: text/plain; charset="iso-8859-1"
> i found if i call the wmi ole object to get wmi data,THttpAppSrv will
> hung and lose the 80 connection.
Calling WMI functions presumably to return information on a web page is
unlikely to something many people have done, I've certainly not.
Are you using MagWmiGetInfoEx or some other WMI component?
What WMI class are you calling?
Angus
--
Message: 3
Date: Tue, 16 Apr 2013 20:25:01 +0200
From: Fran?ois Piette
Subject: Re: [twsocket] i using the THttpAppSrv in my app
To: "'ICS support mailing'"
Message-ID: <00a801ce3acf$b6526ee0$22f74ca0$@skynet.be>
Content-Type: text/plain; charset="iso-8859-1"
> 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
--
Message: 4
Date: Wed, 17 Apr 2013 09:19:40 +0800
From: myiisvif
Subject: Re: [twsocket] i using the THttpAppSrv in my app
To: twsocket
Message-ID: <201304170919378175...@gmail.com>
Content-Type: text/plain; charset="gb2312"
thank Angus Robertson!
yes,
i using WbemScripting_TLB.pas, also the uWmiDelphiClass.pas (from the google
code). which just the oleobject.
in them, i just get this iis's filter status and iis's filter name. and return
them to my webclient.
myiisvif
From: Angus Robertson - Magenta Systems Ltd
Date: 2013-04-16 23:09
To: twsocket
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.
Calling WMI functions presumably to return information on a web page is
unlikely to something many people have done, I've certainly not.
Are you using MagWmiGetInfoEx or some other WMI component?
What WMI class are you calling?
Angus
--
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
--
Message: 5
Date: Wed, 17 Apr 2013 09:23:18 +0800
From: myiisvif
Subject: Re: [twsocket] i using the THttpAppSrv in my app
To: twsocket
Message-ID: <201304170923162948...@gmail.com>
Content-Type: text/plain; charset="utf-8"
the request on