summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qhttpsocketengine.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2020-09-07 18:15:14 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2020-09-12 12:34:57 +0000
commit2c5e238fd8b117fd40672622351f30e53840ab16 (patch)
tree84fdc5ea9658cfb0d11169fd231f4dc9f2349a46 /src/network/socket/qhttpsocketengine.cpp
parentc1d10fba3602cd32596140a41612ffdf27ea9072 (diff)
QAuthenticator: condition using GSSAPI on credentials availability
AFAICT with GSSAPI the normal workflow is to run kinit or similar and authenticate before running programs relying on it. Therefore we can try to get the credentials before we choose whether or not to use Negotiate. Task-number: QTBUG-85123 Change-Id: If0478fdd45389b2939ad87c2f582776fe56959bb Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit e0918af700acefd6e80562c051e42d0b64097e1f)
Diffstat (limited to 'src/network/socket/qhttpsocketengine.cpp')
-rw-r--r--src/network/socket/qhttpsocketengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qhttpsocketengine.cpp b/src/network/socket/qhttpsocketengine.cpp
index 9de9b284c1..ca7680b71f 100644
--- a/src/network/socket/qhttpsocketengine.cpp
+++ b/src/network/socket/qhttpsocketengine.cpp
@@ -610,7 +610,7 @@ void QHttpSocketEngine::slotSocketReadNotification()
priv->hasFailed = true;
}
- priv->parseHttpResponse(d->reply->header(), true);
+ priv->parseHttpResponse(d->reply->header(), true, d->proxy.hostName());
if (priv->phase == QAuthenticatorPrivate::Invalid) {
// problem parsing the reply