Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4478

Disable gzip compression in microservices

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      Description

      We delegate the response compression to the API gateway. For this
      reason, we don't want to enable the gzip middleware directly in the
      service. The Content-Encoding: gzip causes the side effect of response
      chunking by the API gateway (Traefik), because it needs to decompress
      and re-compress the payload. The chunked transfer breaks the Mender
      client's artifact download, which expects a Content-Length header.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tranchitella Fabio Tranchitella
                Reporter:
                tranchitella Fabio Tranchitella
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel