[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: [PATCH] Fix authentication cache lookup
From: Anders Bergström <andberg75 () yahoo ! se>
Date: 2006-07-15 9:00:23
Message-ID: 20060715090023.7086.qmail () web25502 ! mail ! ukl ! yahoo ! com
[Download RAW message or body]
The attached patch applies to the file
kdelibs/kioslave/http/http.cc. Now the http-slave does
not do a cache lookup for every file it loads which is
really slow. Don't know much http but it works for me
:-)
Anders
["no_auth.diff" (text/x-diff)]
Index: http.cc
===================================================================
--- http.cc (revision 562237)
+++ http.cc (arbetskopia)
@@ -2500,7 +2500,7 @@
// Only check for a cached copy if the previous
// response was NOT a 401 or 407.
// no caching for Negotiate auth.
- if ( !m_request.bNoAuth && m_responseCode != 401 && m_responseCode != 407 && \
Authentication != AUTH_Negotiate ) + if ( Authentication != AUTH_None && \
!m_request.bNoAuth && m_responseCode != 401 && m_responseCode != 407 && \
Authentication != AUTH_Negotiate ) {
kdDebug(7113) << "(" << m_pid << ") Calling checkCachedAuthentication " << \
endl; AuthInfo info;
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic