Fix performance problem with NTLM auth in http POST
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Thu, 22 Mar 2012 15:10:26 +0000 (15:10 +0000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 23 Mar 2012 10:45:25 +0000 (11:45 +0100)
commit3c3ea9a869086ebb02a5d0c475754f6a184a50ab
treeff9ab96772cf1e1589d3c0cbb671ee15cc06afa7
parentb78e355fe5d786710727b89ee5931bea470167d5
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 <Martin.Petersson@nokia.com>
src/network/kernel/qauthenticator.cpp