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

QHttpServer streaming (upload) support

    XMLWordPrintable

Details

    • All
    • 25
    • Foundation PM Staging

    Description

      Currently QHttpServer waits for the client upload to be complete before invoking a route handler. This is fine for most use cases, but can become a problem with very large payloads. In these cases it would be beneficial to be able to avoid buffering the entire body to memory first (consider eg. a very large file).

      This is task is about creating a mechanism to consume data as it arrives / in some reasonable chunks. Furthermore it should be possible to stop such stream and disconnect the client at will.

      Likely this means:

      • A route / callback mechanism to trigger as data arrives
      • An option / API to abort the connection mid-flight

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            vuokko Juha Vuolle
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes