From kde-commits Mon Jan 02 15:46:49 2006 From: Dawit Alemayehu Date: Mon, 02 Jan 2006 15:46:49 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/kioslave/http Message-Id: <1136216809.463222.8051.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=113621683431886 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 {