Re: [twsocket] Memory leaks

2006-10-08 Thread Francois Piette
> > If FastMM doesn't report any leak, then the increase probably result > > from memory fragmentation. > > I think FastMM solved the memory-fragmention-problem of the old Delphi > memory manager. That's at least my expierence in applications where > GetMem/FreeMem is called frequently (several tho

Re: [twsocket] I can't see DisconnectEvent with heavy traffic

2006-10-08 Thread Arno Garrels
Miguel CaƱas wrote: >> Hi >> >> I have another question about heavy traffic behavior. >> TWsocketServer does not see the close socket event in time and I see >> a lot of connections in my server machine that are already close in >> the client. Looks like if my service did not process the event in

[twsocket] I can't see DisconnectEvent with heavy traffic

2006-10-08 Thread Miguel Ca
Hi I have another question about heavy traffic behavior. TWsocketServer does not see the close socket event in time and I see a lot of connections in my server machine that are already close in the client. Looks like if my service did not process the event in time. I am missing something ? Th

Re: [twsocket] Memory leaks

2006-10-08 Thread Arno Garrels
Paul wrote: > Hi Arno, > > i don't see any reason why i can't have a clent in the main thread > and one in a seperate thread working together with the dll's. > > This would mean that 2 applications wouldn't be able to use the same > SSL-dll's also OpenSsl is thread safe as long as we provide the

Re: [twsocket] Memory leaks

2006-10-08 Thread Arno Garrels
Paul wrote: > I'm using V5 with this application. > I don't have this unit Then you don't use latest source! It's included in IcsSslSrcV5g.zip, just downloaded and verified. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Paul > > > - Original Message

Re: [twsocket] Memory leaks

2006-10-08 Thread Paul
Hi Arno, i don't see any reason why i can't have a clent in the main thread and one in a seperate thread working together with the dll's. This would mean that 2 applications wouldn't be able to use the same SSL-dll's also Paul -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] Memory leaks

2006-10-08 Thread Paul
I'm using V5 with this application. I don't have this unit Paul - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, October 08, 2006 8:49 PM Subject: Re: [twsocket] Memory leaks > Paul wrote: >>> BTW: Are you using (OverbyteIcs)SslThr

Re: [twsocket] Memory leaks

2006-10-08 Thread Paul
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, October 08, 2006 8:49 PM Subject: Re: [twsocket] Memory leaks > Paul wrote: >>> BTW: Are you using (OverbyteIcs)SslThrdLock.pas which is a Must when >>> running OpenSSL multi-threaded?

Re: [twsocket] Memory leaks

2006-10-08 Thread Arno Garrels
Paul wrote: >> BTW: Are you using (OverbyteIcs)SslThrdLock.pas which is a Must when >> running OpenSSL multi-threaded? > > > No, how to use it ? It's described in the unit header. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > > Paul -- To unsubscribe or ch

Re: [twsocket] Memory leaks

2006-10-08 Thread Paul
> BTW: Are you using (OverbyteIcs)SslThrdLock.pas which is a Must when > running OpenSSL multi-threaded? No, how to use it ? Paul -- 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.over

Re: [twsocket] Memory leaks

2006-10-08 Thread Arno Garrels
Paul wrote: > Hi, > > When my program is running (sending a stream about each second with > SslHttpCli), I see the memory useage in the taskmanager increasing > continuous. May be cached SSL sessions are the reason? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Memory leaks

2006-10-08 Thread Arno Garrels
Francois PIETTE wrote: > If FastMM doesn't report any leak, then the increase probably result > from memory fragmentation. I think FastMM solved the memory-fragmention-problem of the old Delphi memory manager. That's at least my expierence in applications where GetMem/FreeMem is called frequently

Re: [twsocket] Memory leaks

2006-10-08 Thread Arno Garrels
Paul wrote: > Hi, > > When my program is running (sending a stream about each second with > SslHttpCli), I see the memory useage in the taskmanager increasing > continuous. > The SslHttpCli is running in a seperate thread. > FastMM doesn't report any memory leaks, except for a string(20 bytes) > A

Re: [twsocket] How to handle a failed CWD with FTPClient...

2006-10-08 Thread Francois PIETTE
> Just to clarify, these are directories that I KNOW exist - I'm doing a > recursive download from an FTP site. How would you recommend I recover > from > a failed CWD command? I can't recommand anything before knowing the exact error. Contribute to the SSL Effort. Visit http://www.overbyte.be/

Re: [twsocket] How to handle a failed CWD with FTPClient...

2006-10-08 Thread Gunnar
> Just to clarify, these are directories that I KNOW exist - I'm doing a > recursive download from an FTP site. How would you recommend I recover from > a failed CWD command? That doesn't mean that you are allowed to access these directories. If CWD fails, there's a reason for that, usually on

Re: [twsocket] How to handle a failed CWD with FTPClient...

2006-10-08 Thread rick cusimano
I'm not sure, but the code I posted up seems to work? I had an issue where, basically, a CWD command would fail when changing between directories that are 3 or 4 layers deep. For some reason the code I posted works most of the time (don't ask me why), but like I said it still occasionally fail

Re: [twsocket] Memory leaks

2006-10-08 Thread Francois PIETTE
If FastMM doesn't report any leak, then the increase probably result from memory fragmentation. It is also possible that memory allocation are done in global objects (I don't know which one) which a freeed at program exist and nevertheless "eat" more and more memory. -- Contribute to the SSL Ef

Re: [twsocket] How to handle a failed CWD with FTPClient...

2006-10-08 Thread Francois PIETTE
> I've been having some issues with FTPClient where sometimes, on some > servers, it would fail to change the working directory (thanks to whoever > pointed that out btw) What is the error returned by the server or the component ? Knowing the error would help solving the problem. -- Contribute to

[twsocket] Memory leaks

2006-10-08 Thread Paul
Hi, When my program is running (sending a stream about each second with SslHttpCli), I see the memory useage in the taskmanager increasing continuous. The SslHttpCli is running in a seperate thread. FastMM doesn't report any memory leaks, except for a string(20 bytes) AssumeMultiThreaded is enab

Re: [twsocket] How to handle a failed CWD with FTPClient...

2006-10-08 Thread DZ-Jay
On Oct 8, 2006, at 06:42, rick cusimano wrote: > I've been having some issues with FTPClient where sometimes, on some > servers, it would fail to change the working directory (thanks to > whoever > pointed that out btw) Perhaps its a permission issue? If so, you won't be able to change to that

Re: [twsocket] How to handle a failed CWD with FTPClient...

2006-10-08 Thread Gunnar
Rick, if CWD fails, why do you expect it could work if you just try it again? -gunnar - Original Message - From: "rick cusimano" <[EMAIL PROTECTED]> To: Sent: Sunday, October 08, 2006 12:42 PM Subject: [twsocket] How to handle a failed CWD with FTPClient... > Hi, > > I've been having

[twsocket] How to handle a failed CWD with FTPClient...

2006-10-08 Thread rick cusimano
Hi, I've been having some issues with FTPClient where sometimes, on some servers, it would fail to change the working directory (thanks to whoever pointed that out btw) I've been trying to change the code to test for this and I thought I had it cracked, but its still not quite right. This is