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

NetworkReplyHttpImplPrivate::_q_startOperation was called more than once

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.12.0
    • Fix Version/s: None
    • Component/s: Network
    • Labels:
      None
    • Environment:
      Windows 8.1
      macOS 10.13
    • Platform/s:
      macOS, Windows

      Description

      In Qt 5.12.0, requesting a URL with QNetworkAccessManager::get() produces the following debug message:

      QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("[requested URL]")

      This message isn't produced when running the same code in Qt 5.11.2, or earlier versions of Qt.

      To confirm this wasn't an issue with other parts of my code, I wrote the below minimal test.

      #include <QApplication>
      #include <QNetworkAccessManager>
      #include <QNetworkReply>int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
          QNetworkAccessManager* manager = new QNetworkAccessManager(nullptr);
          manager->get(QNetworkRequest(QUrl("http://www.google.com/")));
          return app.exec();
      }
      

      This produces the debug message:

      QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("http://www.google.com/")

      This message doesn't appear to impact the functionality of the program, and in my main program the requested URL is still retrieved as normal.  However, it does appear to indicate a problem with Qt 5.12.0 that may need addressing.

        Attachments

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

          Activity

            People

            • Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              inviska Richard Craig
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes