Re: [twsocket] Need help with Active Directory user path permissions

2007-11-17 Thread Fastream Technologies
SHGetFolderName, I need to impersonate (see help of the function, the token parameter). But how? Regards, SZ On 11/15/07, Arno Garrels <[EMAIL PROTECTED]> wrote: > > Fastream Technologies wrote: > > Ok, another language problem... What do you mean with "maintain a >

[twsocket] Need help with Active Directory user path permissions

2007-11-15 Thread Fastream Technologies
Hello, I wonder if it is possible to learn what folders a particular AD user has read/write permissions? I need to learn these paths because I am coding an ICS-based FTP server and want to display outside-or-root folders as virtual folders. I hope you get what I mean and help. Best Regards, SZ -

Re: [twsocket] Need help with Active Directory user path permissions

2007-11-15 Thread Fastream Technologies
PROTECTED]> wrote: > > Fastream Technologies wrote: > > Hello, > > > > I wonder if it is possible to learn what folders a particular AD user > > has read/write permissions? > > I need to learn these paths because I am > > coding an ICS-based FTP server and

Re: [twsocket] [OT] Writing Vista applications using Delphi

2007-11-14 Thread Fastream Technologies
Hello, I wonder where can I find the windows vista x64 hotfix for RAD Studio 2007 crash / blue screen prevention? I googled but there does not seem to be an index for hot fixes at microsoft.com! :( Best Regards, SZ On 11/14/07, Hoby Smith <[EMAIL PROTECTED]> wrote: > > You are probably correct,

Re: [twsocket] How should an ICS web server treat this?

2007-11-11 Thread Fastream Technologies
Ok. We have a URL rewrite part in our IQ reverse proxy ( http://www.fastream.com/iqreverseproxy.php) but not for the web server. Just wondered if there was an easier way to do it. Regards, SZ On 11/11/07, DZ-Jay <[EMAIL PROTECTED]> wrote: > > > On Nov 11, 2007, at 08:45, Fastre

Re: [twsocket] How should an ICS web server treat this?

2007-11-11 Thread Fastream Technologies
What if the system is generic and there is hundreds of folders and .php's? Regards, SZ On 11/11/07, Francois PIETTE <[EMAIL PROTECTED]> wrote: > > > Sometimes I see URLs in CGI standard such as, > > > http://www.opengl.allanpetersen.com/index.php/contents/Main/Programming/OpenGL.html > > That h

[twsocket] How should an ICS web server treat this?

2007-11-11 Thread Fastream Technologies
Hello, Sometimes I see URLs in CGI standard such as, < http://www.opengl.allanpetersen.com/index.php/contents/Main/Programming/OpenGL.htmlhttp://www.opengl.allanpetersen.com/index.php/contents/Main/Programming/OpenGL.html> > That has no "?" for parameters and instead params are listed after index

[twsocket] Very strange error (Windows or my application?)

2007-10-20 Thread Fastream Technologies
Hello, We have acquited a dedicated server which has a domain being DDoS attacked by 1000 clients(!). When I leave the server on its own, our IQRP process consumes 95% CPU. After a while, it goes to 0% and it stops accepting new connections. Moreover, the RDP session is also terminated! I cannot c

Re: [twsocket] ICS v6 migration considerations

2007-10-17 Thread Fastream Technologies
Arno claims otherwise but, occasionally after I threaddetach a THttpCli from a worker thread, I get a test exception, which I guess means there are posted messages still left on the message queue... On 10/17/07, Olivier Sannier <[EMAIL PROTECTED]> wrote: > > Fastream Technologies wrot

Re: [twsocket] ICS v6 migration considerations

2007-10-17 Thread Fastream Technologies
v6 IS stable. Yet the "test exception" could be a problem with threaddetach. HTH, SZ > I would also like to hear from users of ICS v6 and whether they find it stable in their production software. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.el

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-13 Thread Fastream Technologies
What I tried to explain was that if your program is TCP/IP-dense, then in order to take advantage of multi-cores, you MUST code MT. Regards, SZ On 10/11/07, Arno Garrels <[EMAIL PROTECTED]> wrote: > > Fastream Technologies wrote: > > I test my ICS-based MT proxy with 20k

Re: [twsocket] Bug (yet another?) in THttpCli

2007-10-11 Thread Fastream Technologies
Of course I use: USE_SSL;NO_DEBUG_LOG;NOFORMS;SECURITY_WIN32;NO_ADVANCED_HTTP_CLIENT_FEATURES in defines. Thanks, SZ On 10/11/07, Arno Garrels <[EMAIL PROTECTED]> wrote: > > Fastream Technologies wrote: > > if(method == "GET") > > bufferClient->GetASy

Re: [twsocket] Bug (yet another?) in THttpCli (Francois, needs your attention pls)

2007-10-11 Thread Fastream Technologies
IOW, there are more messages pumped after OnRequestDone which SHOULD BE PROHIBITED OTHERWISE USE IN MT ENVIRONMENTS WOULD NOT BE POSSIBLE. Francois can you fix this bug per our consultancy agreement? Best Regards, SZ On 10/11/07, Fastream Technologies <[EMAIL PROTECTED]> wrote: >

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-11 Thread Fastream Technologies
Sure but I do not have a serious async server. You can download our MT server from our web site anytime for a test. Regards, SZ On 10/11/07, Arno Garrels <[EMAIL PROTECTED]> wrote: > > Fastream Technologies wrote: > > I test my ICS-based MT proxy with 20k connection

[twsocket] Bug (yet another?) in THttpCli

2007-10-11 Thread Fastream Technologies
Hello, Please find my code at http://www.fastream.com/ics/WebStressTesterSRC.zip . Basically it is like this: void __fastcall TesterThread::startClients(void) { clientList = new TList(); TSslHttpCli *bufferClient; for(int i = 0; i < clientsPerThread; ++i) { bufferClient = new TSslHttpCli(

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-11 Thread Fastream Technologies
I test my ICS-based MT proxy with 20k connections on our dual-core system. It performs 2GBps, local-to-local. So that's one CPU performance basically since the tester also uses CPU! I would not imagine such performance with single thread. Best Regards, SZ On 10/11/07, [EMAIL PROTECTED] <[EMAIL

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-11 Thread Fastream Technologies
On 10/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > --- QUOTE: Arno Garrels > This is untested code. Also FThreadList has to be > made public. Note that OnMessage would fire in > different thread contexts but a single handler for > all is fine. Hope this helps. > --- END. > > I'll look in

[twsocket] Need help with proxy

2007-10-07 Thread Fastream Technologies
Hello, I wonder how I can synchronize Htttpcli.ondocdata and thttpconnection.ondatasent. How can I know how much data is sent in ondatasent so that I can complete the request and listen for a new one. I pump the data in Ondocdata but need to wait until the ICS buffer is emptied so need the ondata

[twsocket] Bug in THttpCli (HEAD command accepting data)

2007-10-06 Thread Fastream Technologies
Hello, When a script pumps data with HEAD command, the component gets confused. Since there are so many novice coders with scripts in ISAPI/CGI coded that way, I think we need a workaround for the issue despite we all know that HEAD pumping data is illegal. To test the issue: - place CGIDump.exe

[twsocket] Does anybody know a both chunked-encoded and GZipped site on the net to test THttpCli?

2007-10-03 Thread Fastream Technologies
TIA, SZ -- 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

[twsocket] What is this error in Tsslhttpcli.OnRequestDone?

2007-10-03 Thread Fastream Technologies
Hello, I am trying to upgrade all our projects to BCB2007 and now face a problem in webstresstester: void __fastcall TesterThread::HTTPClientRequestDone(TObject *Sender, THttpRequest RqType, WORD ErrCode) { if(ErrCode) mainForm->incResponseDropped(); // here Errcode always "1". Why? How come?

Re: [twsocket] New ICS-V6 beta available - updated for RAD Studio 2007

2007-10-02 Thread Fastream Technologies
You're welcome. But is there a change log somewhere? I wonder if we should upgrade even though we have applied the changes that has been published on the list. Best Regards, SubZero On 10/2/07, Francois PIETTE <[EMAIL PROTECTED]> wrote: > > There is a new ICS-V6 beta available. Updated for RAD

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-10-02 Thread Fastream Technologies
ipDataEnd; end; Regards, SZ On 10/2/07, Fastream Technologies <[EMAIL PROTECTED]> wrote: > > I just found out that I had displayheadercheckbox enabled and when the > page could not be loaded due to bug in component code (chunked encoding), > the header count is 0 so there a l

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-10-02 Thread Fastream Technologies
// HERE AV! Display('hdr>' + HttpCli1.RcvdHeader.Strings[I]); Solution: please test the page below with the component code I authored with NO_USE_OF_ADVANCED_HTTP_CLIENT_FEATURES defined in project options. Regards, SZ On 10/2/07, Fastream Technologies <[EMAIL P

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-10-02 Thread Fastream Technologies
o not have delphi, and since BCB does not let me debug component code, I am unable to debug. COULD YOU PLEASE HELP? Regards, SZ On 10/2/07, Fastream Technologies <[EMAIL PROTECTED]> wrote: > > Hello All, > > I fixed the problem: > http://www.fastream.com/ics/Ov

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-10-02 Thread Fastream Technologies
Hello All, I fixed the problem: http://www.fastream.com/ics/OverbyteIcsHttpProt.pas<http://www.fastream.com/ics/> . Francois, please compare/check this and then include into the package. Regards, SZ On 10/1/07, Fastream Technologies <[EMAIL PROTECTED]> wrote: > > Francois,

Re: [twsocket] Another BCB2007 compatibility problem (of demos)

2007-10-01 Thread Fastream Technologies
I get Server Error in '/' Application when I click on that URL at 21:23 GMT+300! And I think Arno has a point in his last post. On 10/1/07, Francois PIETTE <[EMAIL PROTECTED]> wrote: > > > RAD Studio 2007 brings ICS? Is it in the additional > > components, or as part of the default distribution? >

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-10-01 Thread Fastream Technologies
The author of the freeware Internet Component Suite (ICS) > http://www.overbyte.be > > ----- Original Message - > From: "Fastream Technologies" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Monday, October 01, 2007 3:51 AM > Subject: Re: [twsoc

Re: [twsocket] Another BCB2007 compatibility problem (of demos)

2007-10-01 Thread Fastream Technologies
MAIL PROTECTED] > The author of the freeware multi-tier middleware MidWare > The author of the freeware Internet Component Suite (ICS) > http://www.overbyte.be > > ----- Original Message - > From: "Fastream Technologies" <[EMAIL PROTECTED]> > To: "ICS suppo

[twsocket] Another BCB2007 compatibility problem (of demos)

2007-10-01 Thread Fastream Technologies
Hello, I created a new project, added the webserver1.pas and got this bomb bombed: {$IFNDEF DELPHI7_UP} Bomb('This sample requires Delphi 7 or later'); {$ENDIF} Definitely needs a fix for ALL DEMOS! Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please got

Re: [twsocket] Another bug in OverbyteICSHttpProt.pas

2007-10-01 Thread Fastream Technologies
he HTTPTst demo CANNOT DOwnload anything from any non-ssl URL plus my code gives AV for delphi parts of code which the compiler does not let me to debug!! CodeGear RAD seems incompatible with ICS at all!! Best Regards, SZ On 10/1/07, Fastream Technologies <[EMAIL PROTECTED]> wrote: > &g

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-09-30 Thread Fastream Technologies
Also, Francois, you need to compile the Ics v6 ssl bcb package _under_ BCB, not delphi, then install. Plus the const in send() and sendto() must be removed to have the code compile! And as Arno wrote, the icons are missing as well On 10/1/07, Fastream Technologies <[EMAIL PROTECTED]>

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-09-30 Thread Fastream Technologies
Yes there is absolutely a bug with the new conditional check--there is pass of a pointer instead of a reference or something like that in OnDocData as Arno said. Best Regards, SZ On 9/30/07, Arno Garrels <[EMAIL PROTECTED]> wrote: > > Arno Garrels wrote: > > Fastream

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-09-30 Thread Fastream Technologies
to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > The author of the freeware multi-tier middleware MidWare > The author of the freeware Internet Component Suite (ICS) > http://www.overbyte.be > > - Original Message - > From: "Fas

[twsocket] Bug in OverbyteICSHttpProt.pas

2007-09-30 Thread Fastream Technologies
Hello, Could somebody please try to compile this unit with the defines: NOFORMS;SECURITY_WIN32; and no content-coding, no bandwidth limitation and no NTLM? It gives strange pascal errors that needs fixes. BTW, to test the behavior, please modify your source top part as, {$IFDEF COMPILER5_UP} {

Re: [twsocket] ICS Server raises external exception c000001d

2007-09-24 Thread Fastream Technologies
ernet Component Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be > > - Original Message - > From: "Fastream Technologies" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Monday, Se

Re: [twsocket] ICS Server raises external exception c000001d

2007-09-24 Thread Fastream Technologies
omponent Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be > > - Original Message - > From: "Fastream Technologies" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Monday, September 24, 200

Re: [twsocket] ICS Server raises external exception c000001d

2007-09-24 Thread Fastream Technologies
Corrected the message. See subject. Sometimes it gives "privileged instruction" and then crashes. I guess it is a critical section (lack of) problem but cannot find where! Any tool to show which line? MadExcept fails. Regards, SZ - Original Message - From: "Fastre

[twsocket] ICS Server raises external exception 000000d1

2007-09-24 Thread Fastream Technologies
Hello, What does this mean? How does an external exception differ from an AV? Please help! SZ -- 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] FTP Server demo fails

2007-09-20 Thread Fastream Technologies
Hello, You need to define in BOTH the package and the app. You need to call GetMessage when NOFORMS is defined. Regards, SZ - Original Message - From: "David Perkins" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, September 20, 2007 2:30 PM Subject: Re: [twsocket] FTP

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread Fastream Technologies
Hello, 1. You need to define NOFORMS in package and project options for this. 2. There is single thread in standard ICS demo. (async). Regards, SZ - Original Message - From: "David Perkins" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, September 20, 2007 1:12 PM Subje

Re: [twsocket] Running ICS servers on the same port as IIS

2007-09-15 Thread Fastream Technologies
Yes I saw that in IIS7. Yet when I select 192.168.2.4, it still grabs all IPs. I know it's strange but I believe that has something to do with IIS HTTP engine being kernel mode. I: - shut down IIS - install ICS code on 127.0.0.1 (so far so good) - tried to run IIS on 192.168.2.4 and it failed.

Re: [twsocket] Running ICS servers on the same port as IIS

2007-09-15 Thread Fastream Technologies
ling" Sent: Saturday, September 15, 2007 1:16 PM Subject: Re: [twsocket] Running ICS servers on the same port as IIS On 9/15/07, Fastream Technologies <[EMAIL PROTECTED]> wrote: > Hello, > > Our client has 3 IPs. They want to run a different server on port 80 of > each. IIS6-7

Re: [twsocket] Running ICS servers on the same port as IIS

2007-09-15 Thread Fastream Technologies
Again, they want to run one server on different IPs same port. However, IIS does not like to share ports--grabs all IPs. HTH, SZ - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, September 15, 2007 12:26 PM Subject: Re: [twsocke

[twsocket] Running ICS servers on the same port as IIS

2007-09-15 Thread Fastream Technologies
Hello, Our client has 3 IPs. They want to run a different server on port 80 of each. IIS6-7 does not cooperate. I am unable to find any resources using google. Any known issues/workarounds? Best Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno

2007-09-01 Thread Fastream Technologies
BTW, I see that this demo cannot get permissions for folders (only files). Is there a special reason for this? Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, September 01, 2007 1:32 PM Subject: Re: [twsocket] Questio

Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno

2007-09-01 Thread Fastream Technologies
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, September 01, 2007 1:32 PM Subject: Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno > Arno Garrels wrote: >> I use these Windows API functions: >> GetNamedSecurityIn

Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno

2007-09-01 Thread Fastream Technologies
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> > Fastream Technologies wrote: >> Arno, >> >> I think you misunderstood. For each folder listing record (file or >> folder in Windows, plus links in UNIX) in FTP, the FTP server G

Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno

2007-09-01 Thread Fastream Technologies
y, August 31, 2007 5:56 PM Subject: Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno > Fastream Technologies wrote: >> Helo Arno, >> >> I wonder how would one determine the permission field for FTP >> directory listings. For example: >> >&g

Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno

2007-09-01 Thread Fastream Technologies
PM Subject: Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno > Fastream Technologies wrote: >> Helo Arno, >> >> I wonder how would one determine the permission field for FTP >> directory listings. For example: >> >> drwxrwxrwx >> &g

[twsocket] Question regarding ActiveDirectory in FTP for Arno

2007-08-31 Thread Fastream Technologies
Helo Arno, I wonder how would one determine the permission field for FTP directory listings. For example: drwxrwxrwx This may not be needed for the demo yet definitely required for a real server. SurgeFTP does this but it's not open source. FileZilla has no AD support. Regards, SZ --

Re: [twsocket] Is there any code exampleforsendingemailsthroughGMail with ICS?

2007-08-31 Thread Fastream Technologies
> Be aware though, that only the initial connection authentication is > secured with TLS/SSL, the POP and SMTP transfers are I am told not > secured. In GMail or ICS-SSL? Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/li

Re: [twsocket] Is there any code example for sending emailsthroughGMail with ICS?

2007-08-31 Thread Fastream Technologies
No, I use their POP/SMTP service with Windows Mail. It requires SSL. Best Regards, Gorkem Ates Fastream Technologies Software IQ: Innovation & Quality www.fastream.com | Email: [EMAIL PROTECTED] | Tel: +90-312-223-2830 Join IQWF Server Yahoo group at http://groups.yahoo.com/group/IQWFServer

[twsocket] Is there any code example for sending emails through GMail with ICS?

2007-08-29 Thread Fastream Technologies
TIA, SZ -- 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

[twsocket] Is this design correct for THttpConnection/THttpCli return to pool?

2007-08-27 Thread Fastream Technologies
Hello Arno, Francois and All, I call, void __fastcall ReverseProxyClientClass::WaitForHTTPClientAbort(void) { abortingHTTPClient = true; HTTPClient->abortComplete = false; HTTPClient->OnRequestDone = HTTPClientRequestDoneAfterAbort; HTTPClient->Abort(); if(!HTTPClient->abortComplete) { b

Re: [twsocket] Problems writing tester with connection counts

2007-08-26 Thread Fastream Technologies
One additional note from me: If you use single ICS worker thread for the server, then you won't be able to utilize multiple CPU-cores. That's the same for client as well. To see how we cope with this problem on the client side, see the source of my WebStressTester at http://www.fastream.com/ics

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-23 Thread Fastream Technologies
AIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, August 22, 2007 9:46 PM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem > Fastream Technologies wrote: >> But it always stops at that dispatchmessage! Persistent and insistent. > > Now that

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-23 Thread Fastream Technologies
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, August 22, 2007 12:30 PM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem > Fastream Technologies wrote: >>> Even if there

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, August 22, 2007 9:46 PM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem > Fastream Technologies wrote: >> But it always stops

Re: [twsocket] ISAPI Proxy/forwarder and stand alone

2007-08-22 Thread Fastream Technologies
Hello, Have a look at this: http://www.fastream.net/alpha/IQReverseProxy.exe (latest build ddl) http://www.fastream.com/iqreverseproxy.php (info page) C++ Source code available. See above. Best Regards, Gorkem Ates Fastream Technologies Software IQ: Innovation & Quality www.fastream

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
But it always stops at that dispatchmessage! Persistent and insistent. On 8/22/07, Arno Garrels <[EMAIL PROTECTED]> wrote: > > Fastream Technologies wrote: > > Is TranslateMessage really needed in a socket worker thread? > > I guess it's not needed, however I use it

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
Hello, - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, August 22, 2007 12:30 PM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem > Fastream Technologies wrote: >>> Even

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
Already done the both. However, I cannot compile in debug mode since because of memory fragmentation it crashes immediately. All I know is I see "EAccessViolation" at DispatchMessage() of worker thread. - Original Message - From: "Francois Piette" <[EMAIL PROTECTED]> To: "ICS support ma

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, August 22, 2007 11:16 AM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem > Francois Piette wrote: >>> In triggersessionclosed, I postthreadmessage to a message han

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
What kind of an AV would yeield no exception message? I have only seen such thing with ICSV6! - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, August 22, 2007 11:16 AM Subject: Re: [twsocket] ThreadDEtach with THttpConnection probl

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
COuld there be messages in the queue that were posted before threaddetach that arrive after threaddetach (in later sequence in GetMessage)? I am using V6. IOW, I get strange AV with a message of only "EAccessViolation" and no explanatory text in message pump dispatchmessage! Regards, SZ -

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-21 Thread Fastream Technologies
IOW, how can I prevent anymore callback with the handle after a session is closed? Please answer, this might be a BUG IN ICS! BR, SZ - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, Augus

[twsocket] ThreadDEtach with THttpConnection problem

2007-08-21 Thread Fastream Technologies
Hello, In triggersessionclosed, I postthreadmessage to a message handler in the same worker thread which then thread-detaches and posts the object to listener thread. However, in every 1-2 hours, under heavy load, the worker thread gives an AV which I suspect is due to a recv/send callback even

Re: [twsocket] Fw: Can one get the home folderofanuserfromActiveDirectory?

2007-08-21 Thread Fastream Technologies
ocket] Fw: Can one get the home folderofanuserfromActiveDirectory? > Fastream Technologies wrote: >> I do not think you see my point at all... I do NOT want to get the >> home folder of the service account user's. I need to input the >> username from the USER command in TO

Re: [twsocket] Fw: Can one get the home folder of anuserfromActiveDirectory?

2007-08-21 Thread Fastream Technologies
OTECTED]> To: "ICS support mailing" Sent: Monday, August 20, 2007 9:17 PM Subject: Re: [twsocket] Fw: Can one get the home folder of anuserfromActiveDirectory? > Correction I meant the SHGetSpecialFolderLocation() API. > > Arno Garrels wrote: >> Fastream Technologies

[twsocket] Fw: How does one get the out-of-home folders' list from ActiveDirectory?

2007-08-20 Thread Fastream Technologies
- Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "Arno Garrels" <[EMAIL PROTECTED]> Sent: Saturday, August 18, 2007 3:06 PM Subject: Fw: Can one get the home folder of an user from ActiveDirectory? > Second question: >

[twsocket] Fw: Can one get the home folder of an user from ActiveDirectory?

2007-08-20 Thread Fastream Technologies
Here is #1. - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "Arno Garrels" <[EMAIL PROTECTED]> Sent: Saturday, August 18, 2007 3:01 PM Subject: Can one get the home folder of an user from ActiveDirectory? > Hello Arno, &g

[twsocket] OT: Ping: Arno Garrels

2007-08-20 Thread Fastream Technologies
Hello Arno, Are you getting the emails I send? Please let me know from this email. Best Regards, SZ -- 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] What would cause an ICS-threaded server toruninto100%CPU usage?

2007-08-18 Thread Fastream Technologies
have and how much memory do they have? Do they have a 100 mbit network card or just a 10 mbit? Might be older one that clogs the processor more? Regards, Fredrik. -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Fastream Technologies Skickat: den 17 augusti

Re: [twsocket] What would cause an ICS-threaded server toruninto100%CPU usage?

2007-08-17 Thread Fastream Technologies
t? Might be older one that clogs the processor more? Regards, Fredrik. -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Fastream Technologies Skickat: den 17 augusti 2007 17:50 Till: ICS support mailing Ämne: Re: [twsocket] What would cause an ICS-threaded server

Re: [twsocket] What would cause an ICS-threaded server to run into100%CPU usage?

2007-08-17 Thread Fastream Technologies
twsocket] What would cause an ICS-threaded server to run into100%CPU usage? > Fastream Technologies wrote: >> Yes, this is the question. It only happens at customer site and I >> cannot do remote debugging since the connection is not that fast. > > Under heav

Re: [twsocket] What would cause an ICS-threaded server to run into100%CPU usage?

2007-08-17 Thread Fastream Technologies
Yes, of course. - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, August 17, 2007 6:22 PM Subject: Re: [twsocket] What would cause an ICS-threaded server to run into100%CPU usage? > Fastream Technologi

[twsocket] What would cause an ICS-threaded server to run into 100% CPU usage?

2007-08-17 Thread Fastream Technologies
Yes, this is the question. It only happens at customer site and I cannot do remote debugging since the connection is not that fast. Best Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our websit

[twsocket] Half-opened connections

2007-08-13 Thread Fastream Technologies
Hello, What's Accept()'s behavior in that case? (http://en.wikipedia.org/wiki/Half-open_connection) Best Regards, SZ -- 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] FTP component not ready

2007-08-11 Thread Fastream Technologies
You should use OnRequestDone. Regards, SZ - Original Message - From: "Steve Loft" <[EMAIL PROTECTED]> To: Sent: Saturday, August 11, 2007 3:45 PM Subject: [twsocket] FTP component not ready >I am trying to get the FTP component (V6 Beta) to connect and then > upload a file. In the h

[twsocket] Slightly OT: Strange thread freezes, which way to go with ICS messages and TThread

2007-08-10 Thread Fastream Technologies
Hello, The way I went for THttpConnection/THttpCli worker thread: __fastcall ReverseProxyThreadContainer::ReverseProxyThreadContainer(ReverseProxyThread *serverThread) { numberOfClients = 0; reverseProxyThread = new ReverseProxyClientThread(serverThread, this, true); } //

Re: [twsocket] File size

2007-08-06 Thread Fastream Technologies
Hello Engi, You can almost always use the HEAD command and then parse the OnHeaderData event. Sometimes -rarely- you need to run the GET command and abort at OnDocBegin after you parse OnHeaderData as some servers do not support HEAD. In fact, in IIS, you can customize this behavior per script/

Re: [twsocket] Proposal for THttpCli.Abort

2007-07-26 Thread Fastream Technologies
red in same sequence as before, which would have impact on > existing applications. Or am I wrong here ? > > --- > Rgds, Wilfried [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > http://www.mestdagh.biz > > Thursday, July 26, 2007, 10:04, Fastream Technologies w

Re: [twsocket] Proposal for THttpCli.Abort

2007-07-26 Thread Fastream Technologies
Francois, Could you please apply my change to your source? Best Regards, SZ - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, July 26, 2007 11:04 AM Subject: Proposal for THttpCli.Abort >

[twsocket] Proposal for THttpCli.Abort

2007-07-26 Thread Fastream Technologies
Hello, Can it be altered like this please: if bFlag then SocketSessionClosed(Self, 0) else begin FCtrlSocket.Close; StateChange(httpReady); { 13/02/99 } end; end; instead of if bFlag then SocketSessionClosed(Self, 0) else FCtrlS

Re: [twsocket] Is this a bug or a missing feature in wsocket.pas?

2007-07-25 Thread Fastream Technologies
Well you are telling me you get the error 10053... > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > - Original Message - > From: "Fastream Technologies" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Wednesday, July 25, 2007

Re: [twsocket] Is this a bug or a missing feature in wsocket.pas?

2007-07-25 Thread Fastream Technologies
> Hello, > >> Why would a servef all into a state in which when a client connects it >> sees >> 10053? I see 10053 when I connect to my customer's site with HTTP client >> demo after 2 hours! Not 10060, 10061 but 10053! > > A 10053 is 'software caused connection abort'. Normally this is a > routin

Re: [twsocket] Is this a bug or a missing feature in wsocket.pas?

2007-07-25 Thread Fastream Technologies
Why would a servef all into a state in which when a client connects it sees 10053? I see 10053 when I connect to my customer's site with HTTP client demo after 2 hours! Not 10060, 10061 but 10053! Best Regards, SZ - Original Message - From: "Francois Piette" <[EMAIL PROTECTED]> To: "I

Re: [twsocket] Is this a bug or a missing feature in wsocket.pas?

2007-07-25 Thread Fastream Technologies
ta has been received on the > application level. > > -- > Arno Garrels [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > > Fastream Technologies wrote: >> Hello, >> >> I mean the FD_CLOSE() is called when a close is detected right. >> Howev

Re: [twsocket] Is this a bug or a missing feature in wsocket.pas?

2007-07-24 Thread Fastream Technologies
Hello, I mean the FD_CLOSE() is called when a close is detected right. However, the last two lines calling Close() should be changed with Abort() IMHO. Is this correct? Thanks, SZ - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS s

[twsocket] Is this a bug or a missing feature in wsocket.pas?

2007-07-24 Thread Fastream Technologies
Hello, In the description of winsock error 10053 which I get with my proxy, I read: "TCP/IP scenario: A connection will timeout if the local system doesn't receive an (ACK)nowledgement for data sent. It would also timeout if a (FIN)ish TCP packet is not ACK'd (and even if the FIN is ACK'd, it w

Re: [twsocket] birthday

2007-07-20 Thread Fastream Technologies
Happy birthday..! How old/experienced have you become now? ;) - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, July 20, 2007 8:06 PM Subject: Re: [twsocket] birthday > Wilfried Mestdagh wrote: >> Hello, >> >> A happy birthday for

[twsocket] Freeware/open source WebStressTester now supports SSL!

2007-07-19 Thread Fastream Technologies
Hello, I wanted to announce here because this product does not have a web home of its own here yet (just a paragraph in IQRP page) and it's download URL has changed to http://www.fastream.net/WebStressTester.zip (~1MB). It also supports self-signed certs. Best Regards, SubZero www.fastream.co

Re: [twsocket] Bug fix for HttpProt.pas

2007-07-09 Thread Fastream Technologies
Sorry, I have been overworking... Yes in the constructor. Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, July 09, 2007 8:46 PM Subject: Re: [twsocket] Bug fix for HttpProt.pas >

[twsocket] Bug fix for HttpProt.pas

2007-07-09 Thread Fastream Technologies
Hello, Since there is no SocksLevel := 5; SetSocksLevel raises an exception in OnDNSLookupdone. Best Regards, SZ -- 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] V6 BCB compatibility (subject changed)

2007-07-01 Thread Fastream Technologies
en: Integer) : Integer; virtual; > > Same in the implemention. > > -- > Arno Garrels [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > > > Fastream Technologies wrote: >> - Original Message - >> From: "Arno Garrels" <[E

Re: [twsocket] TWSocketServer in thread

2007-06-29 Thread Fastream Technologies
Pause is message-based--does not stop the thread from doing other things. Regards, SZ On 6/29/07, Engi <[EMAIL PROTECTED]> wrote: > > > What are the diffs between this functions ? > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EM

Re: [twsocket] TWSocketServer in thread

2007-06-29 Thread Fastream Technologies
Hello, Instead of Sleep(), why don't you Pause() the twsocket? That would be better IMHO. Regards, SZ - Original Message - From: "Engi" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Friday, June 29, 2007 4:16 PM Subject: Re: [twsocket] TWSocketServer in thread > > Here is a

Re: [twsocket] TWSocketServer in thread

2007-06-29 Thread Fastream Technologies
ead > > No > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Fastream >> Technologies >> Sent: Friday, June 29, 2007 2:46 PM >> To: ICS support mailing >> Subject: Re: [twsocket] TWSock

Re: [twsocket] TWSocketServer in thread

2007-06-29 Thread Fastream Technologies
ith a while(!terminated) loop which does > the job. > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Fastream >> Technologies >> Sent: Friday, June 29, 2007 12:12 PM >> To: ICS support mailing >>

<    3   4   5   6   7   8   9   10   11   12   >