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

QtNetworkAccessManager incorrect opening additional connections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • 5.1.0 RC1
    • 4.8.2, 4.8.3, 5.0.1
    • None
    • Windows xp sp3, Windows Vista (x86/s64), Windows 7 (x86/s64)

      Sample application periodically makes many http and https requests to servers.
      And there are a lots of “400” status codes in the log-files of our web servers (nginx). There are much more such bad requests than “good” requests.
      The same problem if you do the http(s) request from QML using XMLHttpRequest.

      Reasons - our app often opens “empty” connection, i mean that it establishes tcp connection with web server and do not send anything to this socket.

      Why it`s a big problem.

      If you need to perform 3 - 5 requests on your web server that you expect to be opened (and closed) 3 - 5 compounds, but on the basis of the described problem occurs following application of 1 to 5 additional connections.
      In this case, the audience applications ~ 200,000 unique users each perform 1 - 2 https request every 5 - 10 minutes.
      We have up to 80% of empty connections to the Web server and a lot of overhead.

      How to reproduce (see attached sample qt project files).

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

            shkearns Shane Kearns
            misterionkell Nikolay Bondarenko
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes