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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • 4.8.0
    • 4.7.1
    • None
    • Linux, Windows

      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.

        1. ratecontrol.zip
          13 kB
          Aleksey Kontsevich
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes