Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only compress responses if request was compressed #36867

Merged
merged 7 commits into from
Dec 21, 2018

Commits on Dec 19, 2018

  1. Only compress responses if request was compressed

    This is a follow-up to some discussions around elastic#36399. Currently we have
    relatively confusing compression behavior where compression can be
    configured for requests based on `transport.compress` or a specific
    setting for a remote cluster. However, we can only compress responses
    based on `transport.compress` as we do not know where a request is
    coming from (currently).
    
    This commit modifies the behavior to NEVER compress responses based on
    settings. Instead, a response will only be compressed if the request was
    compressed. This commit also updates the documentation to more clearly
    described transport level compression.
    Tim-Brooks committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    dba1c26 View commit details
    Browse the repository at this point in the history
  2. cleanup

    Tim-Brooks committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    02e4243 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2018

  1. Configuration menu
    Copy the full SHA
    554fb54 View commit details
    Browse the repository at this point in the history
  2. Add test

    Tim-Brooks committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    87dfb3b View commit details
    Browse the repository at this point in the history
  3. Add suppress

    Tim-Brooks committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    9f10684 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2018

  1. Configuration menu
    Copy the full SHA
    ac4838a View commit details
    Browse the repository at this point in the history
  2. Changes

    Tim-Brooks committed Dec 21, 2018
    Configuration menu
    Copy the full SHA
    fd291d4 View commit details
    Browse the repository at this point in the history