[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/kioslave/http
From: Thiago Macieira <thiago () kde ! org>
Date: 2005-12-30 2:00:51
Message-ID: 1135908051.274430.24996.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 492490 by thiago:
Only send the Proxy-Connection: header if we're talking to a proxy.
BUG:119210
M +5 -3 http.cc
--- branches/KDE/3.5/kdelibs/kioslave/http/http.cc #492489:492490
@@ -2378,9 +2378,6 @@
else
header += "Connection: close\r\n";
- if ( m_bPersistentProxyConnection )
- header += "Proxy-Connection: Keep-Alive\r\n";
-
if (!m_request.userAgent.isEmpty())
{
header += "User-Agent: ";
@@ -2539,7 +2536,12 @@
// Do we need to authorize to the proxy server ?
if ( m_state.doProxy && !m_bIsTunneled )
+ {
+ if ( m_bPersistentProxyConnection )
+ header += "Proxy-Connection: Keep-Alive\r\n";
+
header += proxyAuthenticationHeader();
+ }
if ( m_protocol == "webdav" || m_protocol == "webdavs" )
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic