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

Curl: Add brotli support #32165

Merged
merged 1 commit into from Nov 29, 2017
Merged

Conversation

adisbladis
Copy link
Member

@adisbladis adisbladis commented Nov 29, 2017

Adds brotli compression support to curl

Depends on these two PRs:
#32161 (merged!)
#32123 (merged!)

When these are merged and the stars are aligned I will rebase this one. (done!)

While I would like to enable brotli by default it's a bit tricky because of circular dependencies.

Motivation for this change

Adds brotli support to curl

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@adisbladis adisbladis force-pushed the curl-7_57_0-brotli branch 2 times, most recently from 88636b3 to af1a1ed Compare November 29, 2017 11:28
@orivej
Copy link
Contributor

orivej commented Nov 29, 2017

Both dependencies are in staging now.

@adisbladis
Copy link
Member Author

Already rebased on top of staging. Thanks!

@adisbladis adisbladis changed the title WIP: Curl: Add brotli support Curl: Add brotli support Nov 29, 2017
@vcunat
Copy link
Member

vcunat commented Nov 29, 2017

Defaults: is there some estimate what (deployed) servers support brotli ATM?

@vcunat vcunat self-assigned this Nov 29, 2017
@vcunat
Copy link
Member

vcunat commented Nov 29, 2017

Have you really tested this? For me the log looks OK, but it doesn't retail any reference to brotli...

@vcunat
Copy link
Member

vcunat commented Nov 29, 2017

Ah, static linking, most likely.

@vcunat
Copy link
Member

vcunat commented Nov 29, 2017

I was looking wrong. It does get into closure. I haven't yet fully got comfortable with nix-1.12 UI, apparently.

@vcunat vcunat merged commit 8d479c0 into NixOS:staging Nov 29, 2017
vcunat added a commit that referenced this pull request Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants