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

Setting setReadBufferSize() for QSslSocket has no effect, works wrong or stops transmission at all

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 4.7.1
    • None
    • Linux, Windows

    Description

      This bug is related to QTBUG-15065:

      I have problem with QSslSocket too. I've successfully implemented bandwidth limiting for QTcpSocket utilizing Torrent example code and it's author advices. Setting setReadBufferSize() for QTcpSocket throttles bandwidth down. However this approach does not work for QSslSocket: it read all the data available any way.

      2nd bug in QSslSocket: I can't set buffer size higher than 32 768 bytes - it does not work either in this case - no transmission at all. Can send sample code if necessary.

      3rd: if QSslSocket::setReadBufferSize() set to 0 - socket disconnects right after data download starts.

      Attachments

        Issue Links

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

          Activity

            People

              earthdomain Earth Domain (Inactive)
              alekseyk Aleksey Kontsevich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes