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

Content-length header is not removed in transparently decompressed http2 replies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.12.0
    • Fix Version/s: 5.12.2, 5.14.0 Alpha
    • Component/s: Network: HTTP
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      c306fdff7794d479945c4d7442c08998b7504c4d (qt/qtbase/5.12)

      Description

      When automatic decompression is done In a HTTP<2 connection due to content-encoding: gzip/deflate, the content-length header is removed with QHttpNetworkReplyPrivate::removeAutoDecompressHeader().

      For HTTP2 connections (and presumably SPDY?) that does not happen: The content is decompressed but the header is not removed.

      It would be good to either have consistent behavior or thorough documentation of the transparent decompression effects for different protocols.

        Attachments

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

          Activity

            People

            • Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              ckamm Christian Kamm
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes