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

SSL file download via HTTP GET always stalls halfway through when used with QProgressDialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.7.3
    • Network: SSL
    • None
    • Win7 x64 Japanese, msvc2008, Qt 4.7.3, OpenSSL 0.9.8n (QtSDK-provided libs)

    Description

      When downloading a file via SSL (QNAM::get()), downloadProgress() and readyRead() are emitted only until a certain (seemingly random) amount of bytes have been downloaded, at which point the entire download stalls forever. No more progress or readyRead signals are emitted. Wireshark capture shows that the remote server is in fact retransmitting packets to the client after the stall happens, so this leads me to believe that Qt or OpenSSL is simply not handling the incoming data properly, and/or not sending a correct response to the server to allow more data to be received. Each file I have tested with will stall at the same three to four byte counts, except for the ~1 in 50 tries that the download is successfully completed. File sizes I have tried with range from 50k to 15MB, and I have tried multiple remote servers with different certificates and hardware/software. Non-SSL downloads work without issues.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              bparker Brad Parker
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes