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

ProtocolFailure with certain HTTP requests to transmission-daemon

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.0.3, 6.0, 6.1
    • 6.0.0, 6.0.1, 6.1.0 Alpha
    • Network: HTTP
    • None
    • Fedora 33
    • Linux/X11

    Description

      I recently started testing my application (remote GUI for transmission-daemon) with Qt 6 and immediately faced this issue: some HTTP requests to transmission-daemon fail with ProtocolFailure without any network or HTTP errors.

      After some debugging I found out that the reason is QDecompressHelper::isPotentialArchiveBomb(), which checks that gzip compression ratio is > 40 (in this case it is 65.536) and request fails. I attached tcp dump as captured by Wireshark (failed request is the last one).

      It seems that the only way to opt out from this behaviour is by using an internal attribute which obviously is not a solution.

      Attachments

        Issue Links

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

          Activity

            People

              oyheskes Øystein Heskestad
              equeim Alexey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes