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

add setup to compress middleware #2948

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

topenkoff
Copy link

@topenkoff topenkoff commented Dec 15, 2022

PR Type

Feature

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

Add level setup for middleware::Compress

Closes #2928

@robjtede robjtede added A-http project: actix-http B-semver-minor A-web project: actix-web labels Dec 17, 2022
@topenkoff topenkoff marked this pull request as ready for review January 18, 2023 17:47
@robjtede robjtede added this to the actix-web v4.4 milestone Feb 26, 2023
@robjtede
Copy link
Member

It seems to me that setting one level to apply to all compression formats is not a good enough solution. We'd need a compression level setting per encoding.

@robjtede robjtede modified the milestones: actix-web v4.4, actix-web v4.5 Aug 29, 2023
@robjtede robjtede removed this from the actix-web v4.5 milestone Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-http project: actix-http A-web project: actix-web B-semver-minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow setting compression levels
2 participants