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

QHttpServer streaming (upload) support

XMLWordPrintable

      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

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

            oyheskes Øystein Heskestad
            vuokko Juha Vuolle
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes