summaryrefslogtreecommitdiff
path: root/src/network/ssl/qsslconfiguration.cpp
diff options
context:
space:
mode:
authorPeter Hartmann <phartmann@rim.com>2012-12-21 14:02:38 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-06 23:24:44 +0100
commitb5652df775efbd1c52eecee5f08e40e600e5d70b (patch)
tree6e860637d9f4997234d9f3631d339796481911a2 /src/network/ssl/qsslconfiguration.cpp
parent7765dff1bb8104ea145d55d32da194acb2de03ce (diff)
downloadqtbase-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.cpp6
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