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

QNetworkManager get() repetitive request stuck for many msecs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.9.0 Beta 2
    • 5.8.0
    • Network
    • None
    • Linux ubuntu 16.04 kernel-4.9.6, Android 7.1.2, Android 6.0.1
    • 19a1a0871d4a9081646925c422fe32e900846c2e

      QNetworkManager's get() method stuck for too many time with qt 5.8.0.
      First call takes long as obvious, but next calls are too long.
      For 4.7.1 repetitive request takes about 0-1 ms.
      For 5.8.0 repetitive request takes about 12-13ms on linux and 60ms on android.

      This BUG kills interactivity for any application which send http requests from main thread.

      To demonstrate, run attached app using qt-4.7.1 and qt-5.8.0.

        1. main.cpp
          0.8 kB
          Tomáš Koníř
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            tpochep Timur Pocheptsov
            tomas.konir Tomáš Koníř
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes