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

Route handlers returning QFuture are broken with pipelining

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important 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

      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.

        For Gerrit Dashboard: QTBUG-105202
        # Subject Branch Project Status CR V

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes