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

QNetworkReply doesn't emit error or finished signals during QHttpMultiPart request.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.5.0, 5.6.0, 5.7.0, 5.8.0 RC
    • Network: HTTP
    • None
    • Windows 10

    Description

      When posting a file of size >3kb using QHttpMultiPart request on Windows 10, QNetworkReply doesn't emit error,sslError or finished signals for 2-3 minutes and finally it returns QNetworkReply::RemoteHostClosedError. During the upload it emits uploadProgress signal only once indicating 0% of the data is sent. Even If the internet connection of the computer is disabled, reply still doesn't emit error signal unless abort function is called. This problem is not observed on MacOsX with the same code and server.

      Attachments

        1. Capture.PNG
          Capture.PNG
          123 kB
        2. SaveMode.cpp
          4 kB
        3. SaveMode.h
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            manordheim Mårten Nordheim
            fastcoder Kamil Güngör
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes