diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2011-01-28 12:53:12 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2011-02-21 10:52:15 (GMT) |
commit | f085092a48966a81315a021367086eb69c02e6a6 (patch) | |
tree | df6cdfc7a161d754323296ee5e7e6926a9d972fc /src/network/access/qnetworkaccessmanager.h | |
parent | b8fddce9e6f8dbd30e21cc2d8b20bb1bb0bccba8 (diff) | |
download | Qt-f085092a48966a81315a021367086eb69c02e6a6.zip Qt-f085092a48966a81315a021367086eb69c02e6a6.tar.gz Qt-f085092a48966a81315a021367086eb69c02e6a6.tar.bz2 |
QNAM: Threaded HTTP implementation
HTTP requests are run in a separate thread now.
This required some big changes in the QNetworkAccessHttpBackend.
There is a new class QHttpThreadDelegate which lives in the
HTTP thread and is the communication layer between HTTP code
and QNetworkAccessHttpBackend. Communication is done
via signals/slots.
The synchronous HTTP code (private QtWebKit API) also had to
be completely re-worked and uses its own thread now.
Reviewed-by: Peter Hartmann
Task-number: QTBUG-14162
Diffstat (limited to 'src/network/access/qnetworkaccessmanager.h')
-rw-r--r-- | src/network/access/qnetworkaccessmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qnetworkaccessmanager.h b/src/network/access/qnetworkaccessmanager.h index 7ef009f..d67b8ac 100644 --- a/src/network/access/qnetworkaccessmanager.h +++ b/src/network/access/qnetworkaccessmanager.h @@ -156,6 +156,8 @@ protected: private: friend class QNetworkReplyImplPrivate; + friend class QNetworkAccessHttpBackend; + Q_DECLARE_PRIVATE(QNetworkAccessManager) Q_PRIVATE_SLOT(d_func(), void _q_replyFinished()) Q_PRIVATE_SLOT(d_func(), void _q_replySslErrors(QList<QSslError>)) |