Skip to content

"Identity" compression setting? #8037

@krvss

Description

@krvss

Describe the bug

We need to turn off any compression to the subgraphs and tried to follow this manual, which unfortunately does not mention that such an option exists.

We tried to use identity and some other values like none or just "" as a setting for compression - the last two fail the configuration check, but identity seems to pass, although it causes no effect. This code makes us think that this should work, but it does not.

To Reproduce

Steps to reproduce the behavior:
Change the router settings to:

traffic_shaping:
  all:
    compression: identity
  subgraphs:
    subgraph1:
      compression: identity

And then in the subgraph, just print the "Accept-Encoding" header value.

Expected behavior

We expect to see something like "identity;q=0.9". Verified using the RHAI script logging that the router itself gets "identity" as an input.

Output

Instead, we see "gzip, br, deflate"

Desktop (please complete the following information):

  • OS: Linux
  • Version: v2.4.0

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions