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

Route handlers returning QFuture are broken with pipelining

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.0 FF
    • 6.4.0 Beta2
    • Qt Http Server
    • None
    • All
    • 55d10201dc7a47b239825548e053c1fb0de61115
    • Foundation Sprint 62, Foundation Sprint 63, Foundation Sprint 64, Foundation Sprint 65, Foundation Sprint 66, Foundation Sprint 67, Foundation Sprint 68, Foundation Sprint 69, Foundation Sprint 70

    Description

      QAbstractHttpServer is allocating a single QHttpServerRequest object per connection. This works fine as long as the server does not start reading next request from until the current one is done processing. This is probably broken when handlers returning QFuture are used and the client does request pipelining.

      If reproducing the bug using Qt, note that QNetworkManager may create up to 6 connections before attempting pipelining.

      Attachments

        Issue Links

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

          Activity

            People

              ievgenii.meshcheriakov Ievgenii Meshcheriakov
              ievgenii.meshcheriakov Ievgenii Meshcheriakov
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes