cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re[6]: NTLM with proxy && minor typos

From: Serge Semashko <ss_at_vba.com.by>
Date: Tue, 12 Aug 2003 10:38:42 +0300

Hello Daniel,

Monday, August 11, 2003, 2:46:34 PM, you wrote:

>> Here is the next version of NTLM proxy support patch. I hope it will pass
>> more tests.

DS> The good news is that yes, it does pass more tests because I've added several
DS> new tests the last couple of days and this passes them all just fine.

DS> However, it still fails on test case 503. The same one that was failing
DS> before.

DS> Now, I took a dive into the code and

DS> A) added yet another test case (number 80) to make it slightly easier to
DS> force this situation using the client tool only. Test 503 is a libcurl test
DS> that is a bit different (but still a good test of course).

DS> B) fixed the problem. The situation takes place when CONNECT is used to the
DS> proxy and then a second request is tunneled-through to the actual host. I did
DS> patch the code slightly as you'll notice.

DS> This also puts the light on the fact that this new support for NTLM through
DS> proxies, doesn't work when you tunnel the requests through a proxy (using
DS> CONNECT) as done for example when doing SSL. For this to work, I suspect we
DS> need to do a slightly larger fix.

I got the latest version from CVS and tested it with NTLM proxy,
everything seems to work.

But I also noticed a problem with the new code (that's my fault). It
fails to perform web authentication through a proxy (no password on
proxy but web-page is password protected). I'm sorry about this, here
is a patch.

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

Received on 2003-08-12