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

QSslSocket::bytesWritten not working on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: Network: SSL
    • Labels:
    • Platform/s:
      Windows
    • Story Points:
      8
    • Sprint:
      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

            Assignee:
            manordheim MÃ¥rten Nordheim
            Reporter:
            leiniercs Leinier Cruz Salfran
            PM Owner:
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes