Re: [twsocket] TWSocket support for HTTP proxy

2006-12-09 Thread Francois PIETTE
Updated today. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: Sent: Friday, December 08, 2006 8:27 PM Subject: [twsocket] TWSocket support for HT

[twsocket] TWSocket support for HTTP proxy

2006-12-09 Thread Jack
Thanks Francois for uploading and updating the file. Francois also asks me to explain a little what's done in the modification. It's actually similar to the socks support. Instead of using a socks4 or socks5 proxy, the changes allow a socket to tunnel through HTTP proxy that supports the CONNECT

Re: [twsocket] TWSocket support for HTTP proxy

2006-12-09 Thread Arno Garrels
Hello Jack, [..] > - socks and SSL support in existing ICS code is not done in the ideal > way. As it is now, a socket is either an SSL socket or a socks > socket. An SSL connection should also also be able to go through a > proxy server, but not with the current code. Hmm, this worked fine

Re: [twsocket] TWSocket support for HTTP proxy

2006-12-09 Thread Jack
Hello Arno, If you have tested it, I could be wrong. I didn't actually test it. I just looked at the code below and it seems that SSL and Socks are mutually exclusive. I didn't dig it further. {$IFDEF USE_SSL} { Makes the IDE happy } TBaseParentWSocket = TCustomSslWSocket; {$ELSE}

Re: [twsocket] TWSocket support for HTTP proxy

2006-12-09 Thread Fastream Technologies
What does TCustomSslWSocket derive from? On 12/9/06, Jack <[EMAIL PROTECTED]> wrote: > Hello Arno, > > If you have tested it, I could be wrong. I didn't actually test it. > I just looked at the code below and it seems that SSL and Socks are > mutually exclusive. I didn't dig it further. > > {$IFDE

Re: [twsocket] TWSocket support for HTTP proxy

2006-12-09 Thread Arno Garrels
Hello Jack, > Hello Arno, > > If you have tested it, I could be wrong. I didn't actually test it. > I just looked at the code below and it seems that SSL and Socks are > mutually exclusive. I didn't dig it further. > > {$IFDEF USE_SSL} { Makes the IDE happy } > TBaseParentWSocket

Re: [twsocket] TWSocket support for HTTP proxy

2006-12-09 Thread Jack
Hello Arno, Got it. Now I declare that my earlier comment on SSL and using a proxy is officially INVALID :) Although I am a contributor to the SSL project but I have to admit that I have never looked at the SSL code ;-p -- Best regards, Jack Saturday, December 9, 2006, 10:25:52 AM, you wrote:

[twsocket] Throttling solution - Integrate Dan's throttler into ICS?

2006-12-09 Thread Jack
Although throttling has been brought up many times, I'm still in search for a simple throttling mechanism for my single-threaded server app. I just did a search in my emails, and found the following mentioning of throttling: Dan <[EMAIL PROTECTED]> has a wrapper for TWSocket class: http://www.xa

Re: [twsocket] Throttling solution - Integrate Dan's throttler into ICS?

2006-12-09 Thread Francois PIETTE
Have you looked at HTTP client component ? I implemented throttling not so long ago. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Jack" <[EMAIL PROTECTED]> To: "ICS support mailing" S