qt5base-lts/tests/auto/network/ssl
Shane Kearns 00821ec710 QSslCertificate - make lazy initialisation thread safe
QSslCertificate can be copied around into multiple threads,
without detaching. For example, the https worker threads inside
QNetworkAccessManager.
There are const methods, which lazily initialise members of
the private class without detaching (i.e. caching results of
expensive function calls)
These functions now lock the d pointer using QMutexPool to
avoid concurrency related crashes.

autotest crashes 20% of the time in release builds without
the fix, passes 100 times in a row with the fix.

Task-number: QTBUG-20452
Change-Id: I64a01af8159216f2dd6215a08669890f6c029ca8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
2012-03-06 12:25:22 +01:00
..
qsslcertificate QSslCertificate - make lazy initialisation thread safe 2012-03-06 12:25:22 +01:00
qsslcipher Test for QT_NO_SSL instead of QT_NO_OPENSSL 2012-02-21 15:28:40 +01:00
qsslerror Test for QT_NO_SSL instead of QT_NO_OPENSSL 2012-02-21 15:28:40 +01:00
qsslkey Test for QT_NO_SSL instead of QT_NO_OPENSSL 2012-02-21 15:28:40 +01:00
qsslsocket Test for QT_NO_SSL instead of QT_NO_OPENSSL 2012-02-21 15:28:40 +01:00
qsslsocket_onDemandCertificates_member Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsslsocket_onDemandCertificates_static Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
ssl.pro tests: use contains(QT_CONFIG,private_tests) consistently 2012-01-02 01:37:42 +01:00