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

QtHttpServer crashes when during GET of a larger content remote closes connection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.5, 6.6.2, 6.7.0 Beta2, 6.8.0 FF
    • 6.5, 6.6, 6.7.0 Beta1
    • Qt Http Server
    • None
    • Linux Fedora 39, x86_64, Qt 6.5+
    • All
    • 91bfef367 (dev), 7fd8d5ba6 (6.7), 50878e43b (6.6), b8b042b2b (tqtc/lts-6.5)
    • Foundations Sprint 99

    Description

      As a user I want to abort GET-requests of large content without the http-server crashing.

      Actual:

      Http GETing a large content from at HttpServer instance can crash the program using the httpserver, when the user closes the socket during transfer of chunks.

      Expected:

      Http GETing and closing the connection during chunked transfer does not crash the httpserver.

      Attached patch fixes the issue for me.

      Attachments

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

        Activity

          People

            ievgenii.meshcheriakov Ievgenii Meshcheriakov
            vehre Andre Vehreschild
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: