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

CLONE - Making a HTTPS request using QNetworkAccessManager hangs the application on Symbian Qt 4.7.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 4.7.2
    • Network, Network: SSL
    • None
    • Nokia N97
      Qt 4.7.2
      Open C LIBSSL Common 1.07(0)
      Open C LIBSSL Patch 1.07(0)
      Standard C++ library Common 1.07(0)
      Standard C++ library Patch 1.07(0)
      Symbian OS pipes upgrade 1.04(0)
      Symbian OS PIPS upgrade 1.07(5)

    Description

      Running the code below renders the application completely unresponsive (can't be killed with Symbian task switcher, battery indicator stops animating, doesn't redraw, etc). The requestComplete, readyRead and sslErrors signals are never emitted. Works fine on Windows. Before hanging following lines appear in the debug output:

      StartServer
      StartServer 2
      StartServer 3
      StartServer 4 0
      connect1 0
      connect1 0

      void MainWindow::on_pushButton_clicked()
      {
          QNetworkRequest r;
          r.setUrl(QUrl("https://msp.f-secure.com/web-test/common/test.html"));
          QNetworkReply* reply = m_nam.get(r);
          connect(reply, SIGNAL(finished()), this, SLOT(requestComplete()));
      }
      
      void MainWindow::requestComplete()
      {
          QNetworkReply* r = (QNetworkReply*) sender();
          qDebug() << r->errorString();
          qDebug() << r->readAll();
          r->deleteLater();
      }
      

      Attachments

        1. qtbug18503.sis
          8 kB
        2. qtbug18503.zip
          5 kB

        Issue Links

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

          Activity

            People

              mread Murray Read
              dgiagio Diego Giagio
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes