Re: [twsocket] Need help with HTTP/1.1 digest auth for forward proxy

2009-09-21 Thread Fastream Technologies
Hello Arno, I noticed I was using a derived-class variable called FRequestAuthorization and the function was looking for FRequestAuth! It's fine now! Thanks!! SZ On Mon, Sep 21, 2009 at 10:42 AM, Fastream Technologies wrote: > Ok, that's a bug but not even with it fixed, it still does not work.

Re: [twsocket] Need help with HTTP/1.1 digest auth for forward proxy

2009-09-21 Thread Fastream Technologies
Ok, that's a bug but not even with it fixed, it still does not work. Thanks, SZ On Mon, Sep 21, 2009 at 10:23 AM, Arno Garrels wrote: > Fastream Technologies wrote: > > Hi Arno, > > > > Ok, let me explain: due to stupid BCB linker errors,I had to place the > > function below in a pascal unit f

Re: [twsocket] Need help with HTTP/1.1 digest auth for forward proxy

2009-09-21 Thread Arno Garrels
Fastream Technologies wrote: > Hi Arno, > > Ok, let me explain: due to stupid BCB linker errors,I had to place the > function below in a pascal unit for calling the function you said: > > function THttpMTConnection.GenerateDigestChallenge : String; > begin > Result := AuthDigestGenerateChallenge

Re: [twsocket] Need help with HTTP/1.1 digest auth for forward proxy

2009-09-20 Thread Fastream Technologies
Hi Arno, Ok, let me explain: due to stupid BCB linker errors,I had to place the function below in a pascal unit for calling the function you said: function THttpMTConnection.GenerateDigestChallenge : String; begin Result := AuthDigestGenerateChallenge( FServe

Re: [twsocket] Need help with HTTP/1.1 digest auth for forward proxy

2009-09-20 Thread Arno Garrels
Fastream Technologies wrote: > headerHead += "Proxy-Authenticate: Digest " + // I only changed this > line from rproxy to forward proxy >GenerateDigestChallenge() + >", domain=\"" + prefix + FAuthRealm + ":" + serverPort + "\"" + >", uri=\"" + URI + "\"" + >//", alg

Re: [twsocket] Need help with HTTP/1.1 digest auth for forward proxy

2009-09-20 Thread Fastream Technologies
I forgot to say: I also changed the parser for "Authorization:" request header to "Proxy-Authorization:" and that parser works well. But the problem remains. On Sun, Sep 20, 2009 at 11:24 AM, Fastream Technologies wrote: > Hello, > > Even though the code works for reverse proxy, it does not when

[twsocket] Need help with HTTP/1.1 digest auth for forward proxy

2009-09-20 Thread Fastream Technologies
Hello, Even though the code works for reverse proxy, it does not when I make it a part of IE/FF chain as forward proxy! In Answer401, I wrote: String AuthString = "auth"; String staleString = String((FAuthDigestStale && lastCommand != cproxyCommandPOST) ? ", stale=\"true\"" : ""); String pref

Re: [twsocket] Need help with HTTP

2006-09-02 Thread Fastream Technologies
ent manage it. Best Regards, SZ - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, September 02, 2006 4:52 PM Subject: Re: [twsocket] Need help with HTTP : Hello, : : I have debugged the code to th

Re: [twsocket] Need help with HTTP

2006-09-02 Thread Fastream Technologies
TECTED]> To: "ICS support mailing" Sent: Saturday, September 02, 2006 11:00 AM Subject: Re: [twsocket] Need help with HTTP :> The error I get is it sometimes shuts down before all the : > data is actually pumped. : Your code fragment is difficult to understand. There are to much

Re: [twsocket] Need help with HTTP

2006-09-02 Thread Fastream Technologies
eptember 02, 2006 11:00 AM Subject: Re: [twsocket] Need help with HTTP :> The error I get is it sometimes shuts down before all the : > data is actually pumped. : Your code fragment is difficult to understand. There are to much noise : because of features in your program. You'd bette

Re: [twsocket] Need help with HTTP

2006-09-02 Thread Francois PIETTE
ED]> To: "ICS support mailing" Sent: Friday, September 01, 2006 4:14 PM Subject: [twsocket] Need help with HTTP > Hello, > > In the OnDocData of THttpCli descendent, I pause the THTtpCli and > Send(Buffer, Len) to the THttpConnection (this is a proxy server). The > problem i

[twsocket] Need help with HTTP

2006-09-01 Thread Fastream Technologies
Hello, In the OnDocData of THttpCli descendent, I pause the THTtpCli and Send(Buffer, Len) to the THttpConnection (this is a proxy server). The problem is at ConnectionDataAvailable of THttpConnection, I cannot be sure that all the data is sent or is it complete because sometimes packets are m