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

QSslSocket should go into UnencryptedMode after setSocketDescriptor is called

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.6.1
    • Network: SSL
    • None

    Description

      With QTcpSocket and QLocalSocket one can reuse these objects by just calling setSocketDescriptor again, which proved to be faster than creating the objects on high traffic servers (case of Cutelyst's), but QSslSocket::startServerEncryption() fails because it's internal mode is not UnencryptedMode anymore thus leading to a warning without any API feedback to know that we failed to start the encryption.

      IMO the proper solution would be to reset this value when setSocketDescriptor is called.

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            dantti Daniel Nicoletti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes