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

feat: add support for compression level -2 (HuffmanOnly) #14

Open
kruskall opened this issue Mar 21, 2023 · 0 comments
Open

feat: add support for compression level -2 (HuffmanOnly) #14

kruskall opened this issue Mar 21, 2023 · 0 comments

Comments

@kruskall
Copy link
Member

The docappender is rejecting -2 as a value for CompressionLevel despite it being a valid value for gzip compression in the standard library.

The validation logic should be updated to accept -2:

if cfg.CompressionLevel < -1 || cfg.CompressionLevel > 9 {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant