[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/kioslave/http
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2006-01-02 15:46:49
Message-ID: 1136216809.463222.8051.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 493504 by adawit:

Unfortunately the bogus Netscape hack "Proxy-Connection: Keep-Alive" is needed
to establish a persistent connection against NTLM authentication based proxies.



 M  +2 -5      http.cc  


--- branches/KDE/3.5/kdelibs/kioslave/http/http.cc #493503:493504
@@ -5490,15 +5490,12 @@
 
   if ( isForProxy )
   {
-    auth = "Proxy-Authorization: NTLM ";
+    auth = "Proxy-Connection: Keep-Alive\r\n";
+    auth += "Proxy-Authorization: NTLM ";
     user = m_proxyURL.user();
     passwd = m_proxyURL.pass();
     strauth = m_strProxyAuthorization.latin1();
     len = m_strProxyAuthorization.length();
-    // Force a persistent proxy connection since NTLM authentication
-    // is completely useless without it! NOTE: we are purposefully
-    // ignoring the user's setting here...
-    m_bPersistentProxyConnection = true;
   }
   else
   {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic