Re: [twsocket] Need help with THttpCli reuse after abort()

2006-08-29 Thread Francois PIETTE
> I am not sure how I can > demostrate this to you and open to ideas... Create a small test client (Delphi code please) which on a button click use the head method to query something from the HTTP srv component into a test server application (probably a modified WebServ demo) to have the head c

Re: [twsocket] Need help with THttpCli reuse after abort()

2006-08-29 Thread Fastream Technologies
Unfortunately it turned out that it is still buggy and reusing of ThttpCli::HEADAsync is problematic after an abort. I am not sure how I can demostrate this to you and open to ideas... Best Regards, SZ - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS sup

Re: [twsocket] Need help with THttpCli reuse after abort()

2006-08-29 Thread Fastream Technologies
Hi, I found out that calling cleanrcvdstreams() and cleansentstreams() killed the problem. FYI, I also called InternalClear() after each abort. Thanks, SZ P. S. Francois, I see that my first private message has been received by you but my second reply message is again bounced... Strange, isn'

Re: [twsocket] PDA

2006-08-29 Thread Francois PIETTE
> Has anyone done some development on a PDA with ICS ? Actually it is not easy since Delphi.NET has no direct support for the compact framework. That is something I defenitely want to do once I get the coirrect tools and the PDA. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng

Re: [twsocket] Control connection closed - Some Machines only

2006-08-29 Thread Angus Robertson - Magenta Systems Ltd
> ErrorMessage= Control connection closed. Connection > reset by peer (Winsock error #10054) I've seen this when using a firewall (or NAT router) set to close idle connections after a period of time, the control connection has no traffic during a transfer. Normally firewalls intelligently handl

[twsocket] Control connection closed - Some Machines only

2006-08-29 Thread Allan Fernandes
Hi, I use Delphi5 with ICS components. The program runs on a LAN environment. I copy 2 files successfully from node-A (TFTPClient) to node-B (TFTPServer).The 3rd file has to go from node-A (TFTPClient) to node-C (TFTPServer), this is when I get OnRequestDone RqType=15 ErrCode = 500 ErrorMessa

[twsocket] PDA

2006-08-29 Thread Paul
Has anyone done some development on a PDA with ICS ? 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] TWSocket threads

2006-08-29 Thread Robert Chafer
Yes it is specific to asyn execute because it only create a new thread when its an async execute. On Tue, 29 Aug 2006 10:17 +0100 (BST), you wrote: > > I am opening a new connection for each query. When happens is that > > when the connection is closed it never returns. > > OK, so nothing s

Re: [twsocket] TWSocket threads

2006-08-29 Thread Angus Robertson - Magenta Systems Ltd
> I am opening a new connection for each query. When happens is that > when the connection is closed it never returns. OK, so nothing specifically to do with asynchronous execute. Why do you need new connections all the time? Different credentials? A connection pool would be more reliable.

[twsocket] THttpCli abort() and ThreadAttach/detach()

2006-08-29 Thread Fastream Technologies
Hello, I create/pool/destruct THttpCli descendents in one thread and then pass to worker thread with threaddetach (in creator thread)-->threadattach (worker thread) --> USE --> Abort() --> threaddetach (worker thread) --> threadattach (creator thread). If I do it like, ThreadDetach(); PostMess

Re: [twsocket] Need help with THttpCli reuse after abort()

2006-08-29 Thread Fastream Technologies
Hello, I really think the problem is with the HEAD command and component reuse after abort(). It works fine with GET but for the cache validation, we need the HEAD first. Hope you can help, SubZero - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS suppor

[twsocket] Need help with THttpCli reuse after abort()

2006-08-29 Thread Fastream Technologies
Hello, As you know I am coding a reverse proxy. In my proxy, I am keeping HTTP CLIENT connections open after a request so that the next request does not wait for the establishment. Now, when something goes wrong (i.e. socket error), I abort the client connection as well to reset the internal st