diff options
author | Peter Hartmann <phartmann@rim.com> | 2012-12-21 14:02:38 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-06 23:24:44 +0100 |
commit | b5652df775efbd1c52eecee5f08e40e600e5d70b (patch) | |
tree | 6e860637d9f4997234d9f3631d339796481911a2 /src/network/ssl/qsslconfiguration.cpp | |
parent | 7765dff1bb8104ea145d55d32da194acb2de03ce (diff) | |
download | qtbase-b5652df775efbd1c52eecee5f08e40e600e5d70b.tar.gz |
SSL: Implement session sharing and use it from QNetworkAccessManager
This improves performance since a network round trip can be avoided.
Change-Id: I1aaff7e48ef9638cb137de0f43942c3a4dd2884a
Initial-patch-by: Markus Goetz <markus@woboq.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/ssl/qsslconfiguration.cpp')
-rw-r--r-- | src/network/ssl/qsslconfiguration.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/ssl/qsslconfiguration.cpp b/src/network/ssl/qsslconfiguration.cpp index 0ae67b3c1f..145cd7be5d 100644 --- a/src/network/ssl/qsslconfiguration.cpp +++ b/src/network/ssl/qsslconfiguration.cpp @@ -584,4 +584,10 @@ void QSslConfiguration::setDefaultConfiguration(const QSslConfiguration &configu QSslConfigurationPrivate::setDefaultConfiguration(configuration); } +/*! \internal +*/ +bool QSslConfigurationPrivate::peerSessionWasShared(const QSslConfiguration &configuration) { + return configuration.d->peerSessionShared; + } + QT_END_NAMESPACE |