Skip to content

Compressed transfers for debuginfod client #63534

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

Closed
mysterymath opened this issue Jun 26, 2023 · 0 comments · Fixed by #68055
Closed

Compressed transfers for debuginfod client #63534

mysterymath opened this issue Jun 26, 2023 · 0 comments · Fixed by #68055
Labels
debuginfod enhancement Improving things as opposed to bug fixing, e.g. new or missing feature

Comments

@mysterymath
Copy link
Contributor

The libcurl instantiation in LLVM's debuginfod client has CURLOPT_ACCEPT_ENCODING left at its default value, NULL, which will disable compression for the transfer, even if available. This should be set to autodetect available compression schemes by setting it to emptystring. This should enable compression when used with an appropriately built libcurl.

@mysterymath mysterymath added enhancement Improving things as opposed to bug fixing, e.g. new or missing feature debuginfod labels Jun 26, 2023
mysterymath added a commit to mysterymath/llvm-project that referenced this issue Oct 3, 2023
All encodings that the underlying libcurl supports are automatically
detected and accepted. libcurl will then decompress on the fly. This
improves effective network transfer rate and prevents server-side
decompression for files stored compressed.

Fixes llvm#63534
mysterymath added a commit that referenced this issue Oct 3, 2023
All encodings that the underlying libcurl supports are automatically
detected and accepted. libcurl will then decompress on the fly. This
improves effective network transfer rate and prevents server-side
decompression for files stored compressed.

Fixes #63534
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debuginfod enhancement Improving things as opposed to bug fixing, e.g. new or missing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant