From 3c3ea9a869086ebb02a5d0c475754f6a184a50ab Mon Sep 17 00:00:00 2001 From: Shane Kearns Date: Thu, 22 Mar 2012 15:10:26 +0000 Subject: Fix performance problem with NTLM auth in http POST A combination of other fixes resulted in authentication credentials with a blank username & password being incorrectly added to the cache only for NTLM. This caused authentication to be attempted with blank credentials first (which would fail), before the authenticationRequired signal was emitted. It caused a performance issue because of the extra 2 requests to the server (and possibly delays inserted by the server following a failed login) Change-Id: Ic588a20cfe7c24d5e60cd384caff0673a587e484 Reviewed-by: Martin Petersson --- src/network/kernel/qauthenticator.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network/kernel') diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp index eef2a7fa76..43b3618ea2 100644 --- a/src/network/kernel/qauthenticator.cpp +++ b/src/network/kernel/qauthenticator.cpp @@ -380,6 +380,8 @@ void QAuthenticatorPrivate::parseHttpResponse(const QListoptions[QLatin1String("realm")] = realm = QString::fromLatin1(options.value("realm")); -- cgit v1.2.3