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

QtHttpServer: Writing from Sequential QIODevices to HTTP(S)/1.1 Hangs the Client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8, 6.9, 6.10
    • Qt Http Server
    • None
    • All
    • 5
    • dda6bf712 (dev), 39b3f1aff (dev), bdd1b7f97 (dev), 9626f5b49 (6.10), 810789623 (6.10), 2441be844 (6.10), dc96f2042 (6.9), 47a047e5d (6.9), aa50d681c (6.9), 1709bf873 (tqtc/lts-6.8), 8bb82438c (tqtc/lts-6.8), 6bcf2a3e7 (tqtc/lts-6.8)
    • Foundation Sprint 131, Foundation Sprint 132, Foundation Sprint 133

    Description

      Sequential QIODevices do not know their length.
      When handling HTTP/1.1 and HTTPS/1.1 clients, the data must therefore sent in chunked transfer encoding. This is currently not supported in QHttpServerHttp1ProtocolHandler, and the lack of support for this results in the HTTP(S)/1.1 clients hanging when the server is done writing.

      Add support for chunked transfer encoding.

      Attachments

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

        Activity

          People

            oyheskes Øystein Heskestad
            oyheskes Øystein Heskestad
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change