diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2010-10-19 14:19:29 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-10-27 12:40:27 (GMT) |
commit | 04cc5144a8d1d1eb51fb627327e155649ba2ce45 (patch) | |
tree | 1ed5a32ae0f76898ae942ee73b24ec362e05af1d /src/network/access/qhttpnetworkconnection.cpp | |
parent | 07fd031d29198cc5a0d6f1da6bb8fea29274fa06 (diff) | |
download | Qt-04cc5144a8d1d1eb51fb627327e155649ba2ce45.zip Qt-04cc5144a8d1d1eb51fb627327e155649ba2ce45.tar.gz Qt-04cc5144a8d1d1eb51fb627327e155649ba2ce45.tar.bz2 |
QNAM HTTP: Process authenticationRequired() from HTTP properly
Fixes a bug where a different QNetworkReply(Impl) handles an
authentication request.
Reviewed-by: Peter Hartmann
Reviewed-by: Prasanth
Task-Number: QTBUG-13234
Diffstat (limited to 'src/network/access/qhttpnetworkconnection.cpp')
-rw-r--r-- | src/network/access/qhttpnetworkconnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qhttpnetworkconnection.cpp b/src/network/access/qhttpnetworkconnection.cpp index f8f7620..f6cb530 100644 --- a/src/network/access/qhttpnetworkconnection.cpp +++ b/src/network/access/qhttpnetworkconnection.cpp @@ -350,7 +350,7 @@ bool QHttpNetworkConnectionPrivate::handleAuthenticateChallenge(QAbstractSocket if (priv->phase == QAuthenticatorPrivate::Done) { pauseConnection(); if (!isProxy) { - emit q->authenticationRequired(reply->request(), auth, q); + emit q->authenticationRequired(reply, reply->request(), auth, q); #ifndef QT_NO_NETWORKPROXY } else { emit q->proxyAuthenticationRequired(networkProxy, auth, q); |