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

QSslSocket::bytesWritten not working on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.15.2
    • Network: SSL
    • None
    • Windows
    • 8
    • Team 2 Foundation_Sprint 47

    Description

      Hello, Qt staff.

      I report that QSslSocket::bytesWritten is not working on Windows. It works perfectly on UNIX, as supposed.

      I created a simple implementation of HTTP 1.1 version with QSslSocket in order to upload/download files because QNetworkAccessManager doesn't connect to the HTTP server I connect to. I suppose the reason is some misconfiguration of HTTP 2 at the server side and QNetworkAccessManager doesn't connect.

      So, I write the entire file I want to upload with chunks of 1MiB using writeData, and then I use the signal bytesWritten to receive the notifications of the upload progress. It works perfectly on UNIX, but not on Windows. On Windows, I receive the notification of ALL I wrote at once, and that is not the correct behavior because there is no progress visualization of the upload on a slow network.

      Attachments

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

        Activity

          People

            manordheim MÃ¥rten Nordheim
            leiniercs Leinier Cruz Salfran
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes