Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14983

Implement QSslContext class to enable SSL session sharing / resuming

    XMLWordPrintable

Details

    • b5652df775efbd1c52eecee5f08e40e600e5d70b

    Description

      • Implement a (for now internal) class QSslContext that wraps a OpenSSL SSL_CTX
      • The information inside is to be based on the QSslConfiguration set by the user on the QNetworkRequest
      • Each QHttpNetworkConnection has QSslContext object as QSharedPointer
      • The individual QSslSockets of the QHttpNetworkConnection all use that QSslContext object, stored via QSharedPointer. If no one set the QSharedPointer, they create their own and behave as before.
      • The goal is to share SSL sessions (resuming sessions to avoid handshake roundtrips) and to save memory by only using one SSL_CTX instead of up to 6 per host:port (see also QTBUG-14985 ).

      Problems identified so far:

      • QNetworkAccessManager uses one QHttpNetworkConnection per host:port, without paying attention to the QSslConfiguration ( QTBUG-7201 )
      • What about the qnetworkreply->setSslConfiguration() calls? (Maybe also related to QTBUG-8405 )

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              peter-har Peter Hartmann
              mgoetz Markus Goetz (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes