[twsocket] Listenbacklog

2005-06-29 Thread Paul
server? T.I.A. 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.overbyte.be

[twsocket] Listenbacklog

2005-06-30 Thread Paul
Hi Bjørnar, thanks for your comment. I still have one question :when I use a Windows2003 server , what is the value I should use or can I set it to 200 anyway on any version of Windows server ? Paul It's the OS that get notified when a client wants to connecto to your program

Re: [twsocket] Http proxy problem

2005-11-29 Thread Paul
understand english. I've seen 1 replay, but either he can't write or is on dope :-) I couldn't make any logical conclusion ... Probaly, the proxy or firewall blocks it. Paul - Original Message - From: Maurizio Lotauro [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent

[twsocket] Detect Http/https proxy

2005-12-05 Thread Paul
the lookup only be done when a statuscode 305 is returned? TIA 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.overbyte.be

Re: [twsocket] Detect Http/https proxy

2005-12-05 Thread Paul
Whre and how to read the proxy info when a 305 statuscode is returned? Is that statuscode received before a 407 is received. There are problems with Squid proxy's (unix based) which I cannot test here so I don't know exactly :-( Paul - Original Message - From: Francois PIETTE

Re: [twsocket] Detect Http/https proxy

2005-12-06 Thread Paul
305 is mostly for proxy-redirect (from proxy to another), but everyone use proxy scripting. Don't know about poxy scripting :-( Any idea where to find info or some code snippets? I've been searching without good results. TIA Paul - Original Message - From: Marcello Vezzelli [EMAIL

[twsocket] WPAD protocol

2005-12-10 Thread Paul
Hi all, does anyone have experience with the WPAD protocol to retreive configuration data from a proxy? (Web Proxy Auto-Discovery Protocol) Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website

Re: [twsocket] WPAD protocol

2005-12-10 Thread Paul
. It allows retreiving the proxyname and port, even if there is no browser installed. IE does the same when it is installed for the first time. Paul - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, December 10, 2005 7

Re: [twsocket] WPAD protocol

2005-12-10 Thread Paul
, which can take a long time just waiting for the info. I frequently have this problem with a remote communication program (No, not hacking but helpdesk...) Paul - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent

Re: [twsocket] WPAD protocol

2005-12-11 Thread Paul
I found an interesting link. There is also a complete C program available using WinInet and WinHttp. Unfortunately, I don't know C :-( Paul http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/autoproxy_support_in_wininet.asp -- To unsubscribe or change your

[twsocket] HttpCli Agent

2006-01-08 Thread Paul
Does anyone have a list of all possible HttpCli.Agent values ? 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.overbyte.be

[twsocket] Http Proxy failure

2006-01-09 Thread Paul
Just tested the new HttpCli on a remote PC behind a Squid proxy. Post a stream results in a http statuscode = 0 :-( 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.overbyte.be

[twsocket] Bugreport: Http status error in HttpCli

2006-01-10 Thread Paul
HttpCli does not return a proper status if there is a proxy in between, so there is no way to know if a proxy should be used. Returned error/statuscodes are: ErrCode : 11004 StatusCode = 404 The statuscode should be 305 in this case Paul -- To unsubscribe or change your settings for TWSocket

[twsocket] Http proxy failures with new ICS package

2006-01-16 Thread Paul
I updated my programs with the new ICS release. I receive many reports of users working behind a proxy, so I thick it's better to scip the latest release, at least for Http Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman

Re: [twsocket] Http proxy failures with new ICS package

2006-01-16 Thread Paul
You mean the beta ? yes, should have added it in the subject Which kind of reports: success or failure ? Same (or even worse) as always : errors on 'POST' a stream Sorry, I don't understand your english. I'll translate it for you : better not use it with Http. Paul - Original Message

Re: [twsocket] Bandwidth control TFtpClient

2006-01-17 Thread Paul
. Paul - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, January 17, 2006 9:51 PM Subject: Re: [twsocket] Bandwidth control TFtpClient Hello Angus, My opinion too, but it seems a popular item :) If I write

Re: [twsocket] Bandwidth control TFtpClient

2006-01-17 Thread Paul
I only discovered it recently myself, A few of our customurs are able to download a 10Mb file in just a second ! And worse: these customurs are increasing day by day Paul - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent

Re: [twsocket] HTTP POST - SendStream With TMemoryStream

2006-01-19 Thread Paul
You should use a TFileStream instead of a TMemorystream. Paul - Original Message - From: Opqrst Ghrst [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, January 19, 2006 10:37 AM Subject: [twsocket] HTTP POST - SendStream With TMemoryStream Hello all

Re: [twsocket] NTLM authentication reloaded

2006-01-19 Thread Paul
PROTECTED] You should try them all yourself and select the one that works Paul - Original Message - From: Tibor Csonka [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, January 19, 2006 5:32 PM Subject: [twsocket] NTLM authentication reloaded Hello list, I've just ran

[twsocket] using Api form with message loop

2006-01-19 Thread Paul
is it possible to create a form with a message loop with api and still use the http async methods ? This will shrink the total application size with almost 300K Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket

Re: [twsocket] using Api form with message loop

2006-01-19 Thread Paul
Hi Wilfried, that sounds like the console mode programs. I need to create a form myself, because it has to communicate with another program thru messages. Paul - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday

Re: [twsocket] using Api form with message loop

2006-01-19 Thread Paul
Probably we are talking the same :) I think so, but if the hidden form is created by WSocket, than where can I get the handle? Paul - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, January 19, 2006 10:06 PM

Re: [twsocket] using Api form with message loop

2006-01-19 Thread Paul
thanks Paul - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, January 19, 2006 10:25 PM Subject: Re: [twsocket] using Api form with message loop Hello Paul, WSocekt1.Handle --- Rgds, Wilfried

Re: [twsocket] NTLM authentication reloaded

2006-01-20 Thread Paul
Personally I didn't saw usernames like [EMAIL PROTECTED] until now in windows. Paul, can you give me examples, where you can configure Proxy/Web server with NTLM in the way you pointed out? You won't find this strange format in M$ proxies, but there lots of proxies available. The ones

Re: [twsocket] NTLM authentication reloaded

2006-01-20 Thread Paul
Should ICS be responsible for domain/user parsing out of a single property or should a new property with domain added ? I think not, unless the component itself test for the combination that works. PAul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support

Re: [twsocket] NTLM authentication reloaded

2006-01-20 Thread Paul
Yes, but those are not NTLM proxies imo. They are just transparent FTP proxies. I have run into problems with Http NTLM proxies Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, January 20, 2006 12:51 PM

[twsocket] Weird problem sending http stream

2006-01-20 Thread Paul
. If this first run is finally executed, then all subsequent posts are handled normally (tested for an hour). Does anyone had this problem before ? 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

Re: [twsocket] Weird problem sending http stream

2006-01-20 Thread Paul
Francois, Just found the problem. There were lots of messages generated due to a wrong reference. Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, January 20, 2006 7:47 PM Subject: Re: [twsocket] Weird

Re: [twsocket] Problem with the lists

2006-01-27 Thread Paul
Yes Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, January 27, 2006 10:27 AM Subject: [twsocket] Problem with the lists Seems the list is down ! 36 hours without message is not normal. Do you see my message ? -- [EMAIL

Re: [twsocket] THttpConnection throttling problem with timer

2006-01-29 Thread Paul
not work work at all. Most likely, all data has been sent before the the throttle becomes active. 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.overbyte.be

[twsocket] Difference between V5d and V5e

2006-01-29 Thread Paul
What are the differences between those versions concerning HttpCl i ? 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.overbyte.be

[twsocket] IP renewal

2006-02-06 Thread Paul
Hi, how can I 'catch' a public IP address renewal during a session, file transfer ... ? 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.overbyte.be

[twsocket] HttpServ Invalid class typecast

2006-02-24 Thread Paul
I get an 'Invalid class typecast' error in HttpServClientConnect event. Is there anything changed between ICS V3 and V5 ? The same worked on V3 Paul procedure TForm1.HttpServClientConnect(Sender, Client: TObject; Error: Word); var ClientCnx

Re: [twsocket] HttpServ Invalid class typecast

2006-02-24 Thread Paul
Have you assigned TMyHttpConnection to property ClientClass? Grrr.. forgot that Thanks 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.overbyte.be

Re: [twsocket] HttpServer

2006-02-24 Thread Paul
Not thinking clear today : forgot to add 'var' to the Flags variable. Paul - Original Message - From: Paul [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, February 24, 2006 1:57 PM Subject: [twsocket] HttpServer In the ServerGetDocument, I start a thread to do some

[twsocket] HttpCli.Abort

2006-03-05 Thread Paul
Can you call HttpCli.Abort and immediately start a new request wihout problems ? 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.overbyte.be

[twsocket] HttpServer AnswerString problem

2006-03-28 Thread Paul
seem to trap it, I get an AV with all addesses shown as Any ideas ? Paul type TMyHttpConnection = class(THttpConnection) protected FClientID : integer; public procedure AnswerString(var Flags: THttpGetFlag; const Status : String

Re: [twsocket] HttpServer AnswerString problem

2006-03-28 Thread Paul
I've some more testing. It works fine when the connection disappeared, but not when a client has Aborted his request. What's the difference ? Paul - Original Message - From: Paul [EMAIL PROTECTED] To: twsocket@elists.org Sent: Tuesday, March 28, 2006 6:24 PM Subject: [twsocket

Re: [twsocket] HttpServer AnswerString problem

2006-03-28 Thread Paul
Found the problem. I have to nil the HttpConnection in the destructor. Paul - Original Message - From: Paul [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, March 28, 2006 7:24 PM Subject: Re: [twsocket] HttpServer AnswerString problem I've some more

[twsocket] Postmessage in Service application

2006-04-11 Thread Paul
I want to convert a Http client application into a service application. How do I use PostMessage in a service application. I've tried with PostMessage /PostThreadMessage with handle= application.Handle, but is doens't seem to work :-( Paul -- To unsubscribe or change your settings

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Paul
objects. 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.overbyte.be

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Paul
can get this handle ? 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.overbyte.be

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Paul
Hello Wilfried, Thanks for your class, but I'm looking for another option. Interactive services won't be allowed anymore in Vista. Isn't there anyway to get the threadid of the service application ? Paul - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Paul
interaction with a service. So communication has to go thru other IPC's like pipes, mailslots. Tcp ... Paul Ps, I'm still having problems with the service ThreadId. You can find it in ServiceThread.Handle (should have known that), but just assigning a var MainHandle(THandle) to it without using

Re: [twsocket] Postmessage in Service application

2006-04-12 Thread Paul
service application, you can drop non-UI components on it. I have tried posting a message (postmessage/ postThreadMessage) to the Service handle and servive threadid, but none of them seem to work Am I missing something here ? Paul Main Service application unit : type TRPPollSvc = class(TService

Re: [twsocket] Postmessage in Service application

2006-04-12 Thread Paul
Hi Angus, That's was my first impression also, however RPPollSvc.Handle doesn't exist :-( Paul It should be: PostMessage (RPPollSvc.Handle, WM_ERROR, 0, 0); -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket

Re: [twsocket] Postmessage in Service application

2006-04-12 Thread Paul
Wilfried Mestdagh wrote: Hello Paul, That's was my first impression also, however RPPollSvc.Handle doesn't exist :-( Correct. TService is derrived from TDataModule and has no windows handle. However you can make one with AllocateHWND. Thanks Wilfried, got it working with this way

[twsocket] HttpCli Statuscode = 0

2006-04-20 Thread Paul
will occur. Is it possible that the 'keep-alive' time has been exceeded. The logon for these 100 clients takes about 30 sec due to de database operations. Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our

Re: [twsocket] HttpCli Statuscode = 0

2006-04-20 Thread Paul
) They receive the correct answer from the server, only a statuscode = 0 is returned on a few random polling clients, and only the first time they begin to poll. Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, April

Re: [twsocket] HttpCli Statuscode = 0

2006-04-21 Thread Paul
due to the database operations Normally this can't happen, but it's strange that a statuscode=0 is received together with a correct answer from the server. Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit

[twsocket] HttpCli.NoCache

2006-04-26 Thread Paul
. The HttpCli.NoCache is set to 'true' or is this a bug in HttpCli ? Is there anything else I should do to force their proxy to forward each request to our server ? Thanks Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo

Re: [twsocket] HttpCli.NoCache

2006-04-27 Thread Paul
intermediaries that may cache information Appearently, the directive 'PRAGMA:NO_CACHE' is not enough in the header. I think, to be sure, I should add a dummy-ID at the end of the URL with an integer value incremented on each request. This way, the proxy will allway see a new URL. Paul

[twsocket] elists.org stops

2006-05-03 Thread Paul
I've read this morning on the DUG group (New zealand Delphi) that elists.ord stops on May, 16 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.overbyte.be

[twsocket] HttpCli Abort or Close

2006-05-03 Thread Paul
Wich is the best method to call in the HttpCliRequestDone event after an error? Abort or close ? 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.overbyte.be

Re: [twsocket] HttpCli Abort or Close

2006-05-03 Thread Paul
Hi Wilfried As long as your RAM doesn't change into ROM. you'll be save :-) Paul - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, May 03, 2006 10:22 PM Subject: Re: [twsocket] HttpCli Abort or Close Hello

[twsocket] reset connection

2006-05-05 Thread Paul
better again for a while. So I assume this is a winsock problem. Can it be reset by code ? What is the best close method for thr httpCli in this case ? (abort, closeAsync, close ..) Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org

Re: [twsocket] reset connection

2006-05-06 Thread Paul
Does it work again when you disable and enable the network connection. The one used to connect to the internet or all simultaneously ? I think it can be done programmatically. Not sure what you mean by this Paul -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] reset connection

2006-05-07 Thread Paul
I've had this twice yesterday. Succeeded once, the other failed. Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, May 06, 2006 1:04 PM Subject: Re: [twsocket] reset connection Take the control panel

Re: [twsocket] IPC - TWSocket or Named Pipes?

2006-05-15 Thread Paul
Arno, i have tested it onces (with a few hundred bytes data) Didn't see much difference Name piped have a smaller foorprint though, they're already available. Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday

[twsocket] Closing HttpClients problem

2006-05-17 Thread Paul
Hi, When I close the Httpclients (CloseAsync), I have to wait sometimes for 20 seconds before I can start them again. Is there anything else I shoild do to avoid this problem ? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman

[twsocket] Program to thread

2006-06-05 Thread Paul
What is the correct way to convert an existing program with 1 HttpCli in async mode to a thread? - HttpCli.create(nil) - HttpCli.Multithreaded:= true - place a message pump in the thread's execute procedure. - create a hidden window to post message to Something else to do ? Paul

Re: [twsocket] Program to thread

2006-06-05 Thread Paul
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.overbyte.be

Re: [twsocket] Program to thread

2006-06-05 Thread Paul
- HttpCli.create(nil) Of course. Be sure to create it from the thread's Execute method. Just being curious : why does is have to be created in the thread's execute procedure ? Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket

[twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Paul
Hi, a bit off topic, but I have problems using SetThreadDesktop() api. It returns error 170 = The requested resource is in use. Is this because ICS uses hidden windows ? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Paul
That means I have to free all http clients, switch to a new desktop and recreate everything, and continue the existing communications ! Nearly impossible. Is there no other way to do this ? Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Paul
So I have to use ThreadDetach bor both TWSocket and HttpCli ? Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 14, 2006 5:07 PM Subject: Re: [twsocket] SetThreadDesktop with ICS Arno Garrels wrote: Paul

Re: [twsocket] [OT] Borland Turbo

2006-09-08 Thread Paul
documentation, ICS will have more users and some of them will eventually deep further into the source. Yes, because it is a huge effort to write and maintain a good documentation, probably a lifetime job for a single person. You hit the real point here Paul -- To unsubscribe or change your settings

Re: [twsocket] Http Get or Post

2006-09-23 Thread Paul
not sure though 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.overbyte.be

Re: [twsocket] Http Get or Post

2006-09-25 Thread Paul
Thanks all, I've tested with POST and GET and I can use either. Both server and client are special purpose applications. 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

[twsocket] Memory leaks

2006-10-08 Thread Paul
is enable in FastMM. Anyone seen this before ? 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.overbyte.be

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

Re: [twsocket] Memory leaks

2006-10-08 Thread Paul
- Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org 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

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 twsocket@elists.org Sent: Sunday, October 08, 2006 8:49 PM Subject: Re: [twsocket] Memory leaks Paul wrote: BTW: Are you using

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-09 Thread Paul
I see no difference between http and https. so SSL has nothing to do with it Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, October 08, 2006 8:40 PM Subject: Re: [twsocket] Memory leaks Paul wrote: Hi

Re: [twsocket] Memory leaks

2006-10-09 Thread Paul
in a program or in a service. It's easier to test it as a program. Streams and bitmaps are created and freed continuously. (5kb to 2Mb) I never tried it before, but maybe it's possible to reuse a stream instead of free + recreate. Paul -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] Memory leaks

2006-10-09 Thread Paul
in the requestdone event and create them int the Get-Post-Put methods ? Just create the streams when the component is created and free when destroying the component? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo

Re: [twsocket] Memory leaks

2006-10-10 Thread Paul
If the stream behaviour is what you need, I don't see any problem with that. What about memory allocation ? Paul PS: for all who's concerned about memory leaks : I've asked Pierre le Riche (author of FastMM) about memory consumption. The only thing you need to check is the virtual memory

[twsocket] HttpCli timeout

2006-10-16 Thread Paul
times myself, but never during debugging :-( Dows anyone have an idea ? TIA 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.overbyte.be

[twsocket] Free a HttpCli in thread

2006-10-17 Thread Paul
Does this also free a HttpCli running in a thread ? PostMessage((Sender as THttpCli).CtrlSocket.Handle, WM_QUIT, 0, 0); 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

Re: [twsocket] Free a HttpCli in thread

2006-10-17 Thread Paul
Ok, thanks Paul - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, October 17, 2006 3:31 PM Subject: Re: [twsocket] Free a HttpCli in thread Does this also free a HttpCli running in a thread ? PostMessage((Sender

[twsocket] HttpCli ErrCode

2006-10-19 Thread Paul
Hi, anyone knows what an ErrCode = 3 (in onRequestDone) means ? 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.overbyte.be

[twsocket] Service dependency

2006-10-21 Thread Paul
One of my HttpCli programs runs as a service and has to start immediately when the (physical) server is restarted. Therefore, an internet connection should be available before the service starts. Which dependency should I add for this ? Paul -- To unsubscribe or change your settings

[twsocket] Handles in components

2007-01-26 Thread Paul
to switch to another desktop. All other threads used are swithing without problems. Are there any handles left after freeing the client? 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

Re: [twsocket] Handles in components

2007-01-26 Thread Paul
.. Thanks 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.overbyte.be

Re: [twsocket] Handles in components

2007-01-27 Thread Paul
change is detected, these steps are executed: - destroy HttpCli - destroy a Timer (uses a handle also) - switch to inout desktop - receate HttpCli and timer The problem is that it won't change the desktop, other threads I use do. So there must be something that's blocking it Paul -- To unsubscribe

Re: [twsocket] Handles in components

2007-01-27 Thread Paul
Francois, Paul, you told me in your intial message that having a handle still allocated prevent desktop switching. As I know you are using threads, I just wanted to remind you that to destroy a window handle, you must call Not quite: I wrote Are there any handles left after freeing

Re: [twsocket] Http file upload

2007-03-17 Thread Paul
thanks, What is the best place to start and stop timing ? OnHeaderRequestEnd ? OnRequestDone. onRequestdone to stop the timing, but when start the timing? Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday

Re: [twsocket] Http file upload

2007-03-17 Thread Paul
Thanks Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, March 17, 2007 2:29 PM Subject: Re: [twsocket] Http file upload Francois PIETTE wrote: where can I find an example for uploading a file to a webserver

Re: [twsocket] Http file upload

2007-03-17 Thread Paul
I've tested with an example i found in the archives. 'Method not allowed' is returned. What am I doing wrong ? Paul function TBandwidthCheckForm.Upload:boolean; const LR= #13#10; var Buf : String; FileToSend : TMemoryStream; Boundary, FName: string; begin result:= true; FName

[twsocket] ICS bug ?

2007-03-21 Thread Paul
instruction Anyone else seen this ? 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.overbyte.be

Re: [twsocket] Architectural question II

2007-03-21 Thread Paul
Don't use TTimer in any worker thread since it is NOT thread-safe! Why is it used in HttpCli then ? see THttpCli.SendRequest Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, March 21, 2007 8:32 AM Subject: Re

Re: [twsocket] ICS bug ?

2007-03-21 Thread Paul
in which line should this be added ? Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, March 21, 2007 11:46 AM Subject: Re: [twsocket] ICS bug ? Paul wrote: Since I updated to the latest ICS version (V5), I

Re: [twsocket] ICS bug ?

2007-03-21 Thread Paul
Have to switch back then. Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, March 21, 2007 11:49 AM Subject: Re: [twsocket] ICS bug ? Arno Garrels wrote: It's a known issue, we discussed already in the SSL

[twsocket] HttpServ

2007-05-12 Thread Paul
20 seconds. It's no problem to place the HttpServ.pas V3 file into the same project folder so that it uses this HttrpServ.pas by default. Would this have an impact when I need to add SSL ? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org

Re: [twsocket] HttpServ

2007-05-12 Thread Paul
need the authentication. The most changes have something to do with the keep-alive connection. Also keep in mind that all other components and units used are V5h Paul Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday

[twsocket] HttpServ fixed

2007-05-13 Thread Paul
added a new compiler directive for my personal use and all works fine now. {$IFNDEF NO_KEEPALIVE_CLOSE_CHECK} if FKeepAlive = FALSE then {Bjornar} {$ENDIF} CloseDelayed; Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] HttpServ fixed

2007-05-13 Thread Paul
Changed them all Why not act where FKeepAlive is assigned instead instead of where it is used Wasn't sure that would work different in other places. I can't test the service locally and the downtime of those servers have to be an abolute minimum Paul - Original Message - From

Re: [twsocket] HttpServ fixed

2007-05-13 Thread Paul
Can check this next week maybe. A proxy has it's own connection that can be keep-alive. There should be no problem though, it's been tested with V3 even thru SSL proxy's like the bluecoat proxy which does SSL filtering Paul - Original Message - From: Francois PIETTE [EMAIL PROTECTED

[twsocket] HttpServ.pas ?

2007-05-14 Thread Paul
I see this in procedure THttpConnection.SendStream; {$IFDEF USE_SSL} BufSize := 8192; { Only for testing } {$ENDIF} purpose ? 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

  1   2   3   >